> Dear Norman, I am trying to set up a sale section on my web shop and
> wondered how you set it up to show the original price scored out and
> then the new price, as when I do the Disc sect method it just seems to
> put in the new price and the same goes for the sell1 and sell 2 check
> box options.
This is a two step process and Norcat is only involved in one of them.
I'm assuming your usual price is in SELL1
1) In Norcat go to Options / Advanced / Customvars / SELL1
check Generate
set Prefix to "<font color=gray><s>Was £" (without the quotes)
set Suffix to "</s> </font><br>" (without the quotes)
check Hide if Blank
set Hide if.. to "<="
What this will do is to set an Actinic Custom Property called SELL1 to contain e.g.
<font color=gray><s>Was £12.34"</s> </font><br>
if and only if the calculated selling price (from Discount Sections or a price override) is less than the T2T SELL1 price. If the selling price is the same as SELL1 then nothing will be generated and that Custom Property will be empty.
2) That's the Custom Property generated, but it won't be displayed anywhere unless you edit an Actinic Template and add it in.
Edit Act_ProductPrice.html (in your Site1 folder) and change the line (this example for V7) from
Code: Select all
<br><span class="actxsmall"><b> NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY NETQUOTEVAR:COST</b></span><span class="actxxsmall">NETQUOTEVAR:TAXMESSAGE</span>
Code: Select all
<br><span class="actxsmall"><b> NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY CUSTOMVAR:SELL1NETQUOTEVAR:COST</b></span><span class="actxxsmall">NETQUOTEVAR:TAXMESSAGE</span>
and replace
Code: Select all
NETQUOTEVAR:PRODUCTDESCRIPTION
Code: Select all
NETQUOTEVAR:PRODUCTDESCRIPTION CUSTOMVAR:SELL1