What's New
You must be logged in to reply to this topic.
Hi,
1. You can use the $cart.subtotals.products.amount variable, that doesn’t include the shipping.
2. It is because the price was converted in the PHP file, so you can’t find the code in the product-prices.tpl file.
3. Please add some extra code, and use the following code:
{if Tools::displayPrice($cart.subtotals.products.amount) > 100 && !$added}
Best regards.
Hi,
I’m sorry to be a pain, I just need this to be done…
$cart.subtotals.products.amount works fine when used (if $cart.subtotals.products.amount > 100) but… this doesn’t work, it will not show text even if the price is over 100 (see image1)
{if Tools::displayPrice($cart.subtotals.products.amount) > 100}
changing to:
{if Tools::displayPrice($cart.subtotals.products.amount) > 100 && !$added}
makes no difference, no text shown (see image2 + image3).
You must be logged in to reply to this topic.