Jump to content

[Prestashop 1.5.6.0] Error display the discounted price


felino85

Recommended Posts

Hello to all,

I have a problem with displaying the discounted price on my theme (Leo Shoes Sport). 

 

To add a discounted price to use a product (the product page) "Prices -> Add a specific price."

 

To view the discounted price using:


<span id="our_price_display">
{if ($productPriceWithoutReduction > $productPrice) && ($productPriceWithoutReduction != $productPrice)}
Prezzo scontato:
{/if}
{convertPrice price=$productPrice}
</span>
<span class="old_price_display"><br />
{if ($productPriceWithoutReduction > $productPrice) && ($productPriceWithoutReduction != $productPrice)}
Prezzo intero:
{/if}
{if ($productPriceWithoutReduction > $productPrice) && ($productPriceWithoutReduction != $productPrice)}
{convertPrice price=$productPriceWithoutReduction}
{/if}
</span>

 

The code seems to work in some products and not others:

- Works fine here Link to the product

- Here without "Price added specific" does not work, I receive the discounted price equal to the original, but there's no discount price included:Link to the product

 

 

Where is the problem?

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...