felino85 Posted June 17, 2014 Share Posted June 17, 2014 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 More sharing options...
barraboldu Posted June 26, 2014 Share Posted June 26, 2014 I have similar problem with release 1.6.0.8 I have discount aplied, but the price with discount doesn't show in product. Only show when the client has put it on the cart. Do you know what happen? thanks Link to comment Share on other sites More sharing options...
felino85 Posted June 26, 2014 Author Share Posted June 26, 2014 Maybe your theme not have the code for to show discount price. Se my code and insert it in your /name_theme/product.tpl. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now