Dynamic Permutation Prices - hide grand total if not require

Miscellaneous Actinic / SellerDeck patches and anything not covered above.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Dynamic Permutation Prices - hide grand total if not require

Post by norman »

There are at leat 3 ways of doing this:-

1) Use a different product layout (that doesn't contain the line that displays the total) for simple products.

2) Replace the "---" with a single space. Some space on the page will be taken up but nothing will display.

3) If you want to use the same layout throughout then the total can be automatically omitted when not required.

Edit your Product layout(s) and look for the line:

Code: Select all

<span id="<actinic:variable name="ProductID" selectable="false" />_gtotal" ppraw="<actinic:block if="%3cactinic%3avariable%20name%3d%22PricingModel%22%20%2f%3e%20%3d%3d%202"><actinic:variable name="ProductPriceRaw" selectable="false" /></actinic:block>">---</span>
Replace it with:

Code: Select all

<actinic:block type="ComponentList"><actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201" ><span id="<actinic:variable name="ProductID" selectable="false" />_gtotal" ppraw="<actinic:block if="%3cactinic%3avariable%20name%3d%22PricingModel%22%20%2f%3e%20%3d%3d%202"><actinic:variable name="ProductPriceRaw" selectable="false" /></actinic:block>">---</span></actinic:block></actinic:block>
Norman
Post Reply