farzzin Posted April 1, 2016 Share Posted April 1, 2016 hi as you know prestashop default price is like this >>> 45.00 and you can add decimals to your price BUT there is a problem...although i disabled decimals on my store in default currency page,products seem to have no decimals in FO but actualy there are more than two zeros there is two zeros when i want to add a price for a product and 6 zeros come from somewhere i realy dont understand about it. there is three images from backoffice that helps you know much better about the issue i will be so happy if you help me to solve this problem. thank you all Link to comment Share on other sites More sharing options...
moy2010 Posted April 2, 2016 Share Posted April 2, 2016 You change the decimals on Preferences - General. Link to comment Share on other sites More sharing options...
musicmaster Posted April 2, 2016 Share Posted April 2, 2016 One cause of your problem may be that your template hardcodes the number of zeroes. Note that Prestashop stores the prices (ex VAT) in the database with 6 decimals. So your template should always do some casting. Link to comment Share on other sites More sharing options...
farzzin Posted April 5, 2016 Author Share Posted April 5, 2016 One cause of your problem may be that your template hardcodes the number of zeroes. Note that Prestashop stores the prices (ex VAT) in the database with 6 decimals. So your template should always do some casting. ok thanks for your response but actualy i didnt understand what to do exactly how can i fix the issue :-( ??!! :rolleyes: Link to comment Share on other sites More sharing options...
musicmaster Posted April 6, 2016 Share Posted April 6, 2016 You could start with the product page. Look at the product.tpl file that generates it and try to find out what happens. And at the point where you don't understand it you could publish your data here so that we have something more concrete to look at. 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