I have a site where the editor can create pages.
At the top of each of these pages is a pricelist and this is edited using a shared region.
It is displayed on each page using a template with the code below.
Further down each of the pages, I want to populate a call to a shopping cart with the same sizes and prices from the pricelist shared region. Can anyone advise me on the best way to do this? I have tried perch_content_custom but failed.
- <div class="pricelist-box">
- <h3 class="color2">Pricelist</h3>
- <div class="row">
- <perch:repeater id="printprices" label="PRICES FOR PRINTS">
- <div class="col-md-3">
- <perch:content id="printsize" type="text" label="Size of Print" maxlength="40"> = £
- <perch:content id="printprice" type="text" label="Price of Print (Do not include the pound sign)" maxlength="7">
- <p>High resolution images with permission to print and share £<perch:content id="digitalprice" type="text"
- label="PRICE OF DIGITAL IMAGES (Do not include the pound sign)"></p>
- <p class="color2">I offer a 10% discount on all orders over £50. Discount automatically applied at checkout.</p>