meinhard.meintjes Posted December 1, 2014 Share Posted December 1, 2014 (edited) Hi everybody, I recently 'upgraded' a Prestashop to use a new theme. Since that update some prices aren't being rounded correctly (see screenshot, should be 38.00, not 38.01). I have contacted the developers of the theme but they weren't able to figure it out, neither can I. The code in product.tpl doesn't seem to be wrong and as you can see the error only happens after being converted/rounded (data-price echos the correct price). <span id="our_price_display" itemprop="price" data-price="{$productPrice}"> {convertPrice price=$productPrice} </span> which delivers: <span id="our_price_display" itemprop="price" data-price="38">CHF 38.01</span> Any ideas? Help would be very much appreciated!! Thank you, Meinhard Edited December 1, 2014 by meinhard.meintjes (see edit history) 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