norman
i have the code to put the price on the add to cart button but that gives the prevat price. so how can i get the actual price displayed.
your help would be appreciated.
Jenny
<!-- CartButton HTML begin -->
<!-- This template is used for the add to cart button. -->
<INPUT TYPE=SUBMIT value="<Actinic:Variable Name="CartButtonText"/> £<actinic:block php="true"> echo number_format('<actinic:variable encoding="perl" name="ProductPriceRaw"
selectable="false" />',2);
</actinic:block>" class='forminput' NAME="<actinic:variable name="ProductReference"/>">
<!-- This template is used for the add to cart button. -->
<!-- CartButton HTML end -->
price on add to cart
Re: price on add to cart
Amend
to be
This assumes that all your products are VATable.
Code: Select all
echo number_format('<actinic:variable encoding="perl" name="ProductPriceRaw" selectable="false" />',2);
Code: Select all
echo number_format(1.175 * '<actinic:variable encoding="perl" name="ProductPriceRaw" selectable="false" />',2);