pemeclama Posted June 4, 2011 Share Posted June 4, 2011 I've been looking for quite some time for the forum but I can not find anyone who has a solution. The issue is that in my store I put some (few) articles with 3 decimals in the price. I sell items from 0.023 to 3000 euros and I would like that prices products below 1 euro could be seen with 3 decimals in the cart as product details and list of products. I found a modification that leaves everything in 3 decimal places (but not working properly) modifying the cart, the product and the tools.tpl in class. I hope someone gives me a clue to follow. Thanks in advance.Prestashop version: 1.3.2 Link to comment Share on other sites More sharing options...
Asenar Posted June 4, 2011 Share Posted June 4, 2011 Hi, first of all, you can upgrade to the last version if you want And for a clue : add a condition, something like that : {if $product->price < 1} // display with 3 decimals {else} // display with 2 {/if} Feel free to post the modifications you made so we can help you more Link to comment Share on other sites More sharing options...
pemeclama Posted June 4, 2011 Author Share Posted June 4, 2011 Thanks Michaël for your answer. I'm very afraid to upgrade, because I've been working in this web for 9 months, and I'd read that is not so easy to upgrade to 1.4. I'd tried what you told me, but I found the 500 error. You know exactly which files I have to edit?Thanks Link to comment Share on other sites More sharing options...
Recommended Posts