Adding SD styling to prices breaks Recently Viewed Products.
The price is extracted from layouts Product Price Excluding Tax and Product Price Including Tax.
If a site owner styles the displayed product price, that adds a SPAN containing single quotes around the returned price. Too many quotes breaks the Save Recent Product Details... layouts.
Standard demo site.
Select the Engagement Ring.
Go to Design Tab.
Click on the displayed product price to view layout Product Price Including Tax.
In Layout Code pane, right click layout Tax Inclusive Price, select Edit Appearance and set the Font Colour to red.
OK out and an error should appear in the Save Recent Products Details... layout.
Don't use a Layout (which the user can tinker with elsewhere in the design) in the "Save Recent Products Details..." code. Use a Variable instead.
In the 3 "Save Recent Products Details..." layouts, replace all:
<actinic:variable name="PreFormattedPrice" value="Product Price Including Tax" />
<actinic:variable name="TaxInclusivePrice" selectable="false" />
<actinic:variable name="PreFormattedPrice" value="Product Price Excluding Tax" />
<actinic:variable name="TaxExclusivePrice" selectable="false" />
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
|The Following User Says Thank You to NormanRouxel For This Useful Post:|
|Thread Tools||Search this Thread|
|Display Modes||Rate This Thread|