Page 1 of 1

Configuring Norcat - Actinic V8/9 to display an optional RRP

Posted: Mon Feb 08, 2010 5:36 pm
by norman
Assuming your normal prices are in Sell1 or Sell2 and your RRP prices are sometimes are in Sell3.

If there is a Sell3 and it's higher than the displayed product price, we want to display that higher price as the RRP.
Norcat can generate conditional code for just such a situation.

Go to Norcat / Config / click the Advanced button, select the CustomVars tab and look at the line SELL3.
Tick Generate
Set Prefix to:- <br><font color=red><s>RRP £
Set Suffix to:- </s>&nbsp;</font>
Tick HideIfBlank
Set Hide if.. to:- <=

Click Done and then Save when back at the Config window.

This will generate an Actinic Variable called SELL3 which will be empty unless the product price is less than SELL3.

Finally we have to edit an Actinic Template to show that variable.

In Actinic, go to Design / Library / Layouts / Products / Norcat_ProductLine

Look for the line

Code: Select all

<actinic:variable name="SELL1" /><b><actinic:variable name="PriceListRetail" /></b>
Amend to be

Code: Select all

<actinic:variable name="SELL1" /><b><actinic:variable name="PriceListRetail" /></b><actinic:variable name="SELL3" />
Repeat for layout Norcat_CompactLine.

You can use othe variables (like BASEPRICE instead). Just substitute them for SELL3 above.