Do the following:
* go to the 'Design' menu and select 'Library'
* click on the 'Variables' tab
* right-click on the 'Product' group and select 'New Variable'
* set the following in the variable:
o Name: RRP
o Prompt: RRP Price
o Place of Setting: Product
o Type: Text
o Allow Empty Value: ticked
o Make a note of the 'Panel Name' as this is where the field will appear on the product for you to enter the value (you can change this if you wish or create new panel)
* click 'OK'
* add the following code to your product layouts for the section page and single product page (if used). This may vary depending on what layouts are used, i.e. in the default site supplied with the software, the section page product layout is called 'Regular Product Summary' and the single product page layout is called 'Image On Left Text Wrapped Around'. Yours may be different especially if you have custom layouts:
* within your layouts, locate the following code: -
and add: -
* immediately after
It will look like:
* then click 'Apply'.
* the 'block if' condition stops anything from displaying if the 'RRP' field is left empty.
* you can add some css styling to the code to display it in a different colour to the selling price so as not to confuse customers.
* go to the 'Design' menu and select 'Library'
* click on the 'Variables' tab
* right-click on the 'Product' group and select 'New Variable'
* set the following in the variable:
o Name: RRP
o Prompt: RRP Price
o Place of Setting: Product
o Type: Text
o Allow Empty Value: ticked
o Make a note of the 'Panel Name' as this is where the field will appear on the product for you to enter the value (you can change this if you wish or create new panel)
* click 'OK'
* add the following code to your product layouts for the section page and single product page (if used). This may vary depending on what layouts are used, i.e. in the default site supplied with the software, the section page product layout is called 'Regular Product Summary' and the single product page layout is called 'Image On Left Text Wrapped Around'. Yours may be different especially if you have custom layouts:
* within your layouts, locate the following code: -
and add: -
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22RRP%22%20%2f%3e%20%21%3d%20%22%22">(RRP: £<actinic:variable name="RRP" />)</actinic:block>
Code:
<p class="product-price">
* then click 'Apply'.
* the 'block if' condition stops anything from displaying if the 'RRP' field is left empty.
* you can add some css styling to the code to display it in a different colour to the selling price so as not to confuse customers.