NorPrice V4 - Prices in Choices - Optional Add-On.

This is not the NorPrice installation document.  Ignore this if you are installing NorPrice.

If you have product with choices, where you show the cost of that choice in the choices
description field, then this optional update will add currency conversion capability to these
items.

There is no need to implement this option if you don't show prices in your choices.


INSTALLATION

Drop Down Choice

Go to Design / Library Layouts / Permutation Row Layout / Drop Down Permutation Entry

Look for the line starting

<option value=

Amend that fragment to be

<option class="NorPrice" value=

OK Out.


Permutation Grids

Go to Design / Library Layouts / Permutation Row Layout / Permutation Grid Row

Look for the line:

	<actinic:variable name="PermutationPrice" />

Replace that line with:

	<span class="NorPrice"><actinic:variable name="PermutationPrice" /></span>

OK out.


Radio Buttons

Go to Design / Library Layouts / Permutation Row Layout / Radio Button Permutation Entry

Look for the line:

	<actinic:variable name="PermutationPrice" />


Replace that line with:

	<span class="NorPrice"><actinic:variable name="PermutationPrice" /></span>


That's installation finished.


NOTES re PRICES IN OPTIONS

A price within a Choice will now be converted.
The currency symbol displayed must be the one defined in Custom Property MAINCURRENCYSYMBOL.
Format must be currency, at least one leading digit, decimal point and 2 fractions, e.g. 0.50
A leading + or - is allowed.  E.g.  1.23  -12.34  +123.45

Alternatively a price within round brackets "(1.23)" will also be converted.
Format must be at least one leading digit, decimal point and 2 fractions, e.g. (0.50)
Leading + / - and currency symbols are allowed e.g. (+12.34)  (-25.00)



UNINSTALLATION

Undo the changes detailed above.



