pxwee5 Posted October 12, 2015 Share Posted October 12, 2015 (edited) Dear Prestashop, My settings: Multiple currencies: USD and RM (Assume conversion rate = 1USD : 4RM) Product Price: USD$5 Four Combinations & Price in USD: 1cm - $2 2cm - $4 3cm - $6 4cm - $8 In the product page. It shows the wrong conversion. 1cm - RM22 2cm - RM24 3cm - RM26 4cm - RM28 The combination prices are not converted properly. The correct conversion should be: 1cm - RM28 2cm - RM36 3cm - RM44 4cm - RM52 Is there a reported bug for this yet? I can't seem to find anything online yet. I'm on 1.6.1.1 and using default theme. Edited October 12, 2015 by pxwee5 (see edit history) Link to comment Share on other sites More sharing options...
pxwee5 Posted October 12, 2015 Author Share Posted October 12, 2015 Fixed it. I believe it is a display error in Product.js because the cart does show the correct figure. To fix it, go to theme > yourtheme > product.js Find basePriceWithoutTax = basePriceWithoutTax + +combination.price; basePriceWithTax = basePriceWithTax + +combination.price * (taxRate/100 + 1); Replace with basePriceWithoutTax = basePriceWithoutTax + (+combination.price * currencyRate); basePriceWithTax = basePriceWithTax + (+combination.price * currencyRate) * (taxRate/100 + 1); Disclaimer: I'm not a programmer. So some moderator please confirm this fix. I'll reply here if I discover anymore issues with this fix. Link to comment Share on other sites More sharing options...
Sinnans Posted December 3, 2015 Share Posted December 3, 2015 Dear pxwee5 I am also new to Prestashop. I think I am facing similar problem! The combination prices (with impact increase in price) defined in currency Rs. work fines As long as the front page is browsed in same currency.Lets say Rs. 100 = US$ 1.0 (Conversion factor 0.0100)I defined following 4 combinations for any item Size1: Front page price to show Rs. 175 with Rs. 00 increment (showing US$ 1.75 which is correct) Size2: Front page price to show Rs. 250 with Rs. 75 increment (showing US$ 76.75 which is wrong) Size3: Front page price to show Rs. 350 with Rs. 175 increment (showing US$ 176.75 which is wrong) Size4: Front page price to show Rs. 590 with Rs. 415 increment (showing US$ 416.75 which is wrong) As you can see. It is adding the default currency difference as it is to the base converted US$ price when converting to US$. Actually it should have been following US$ prices $ 1.75 $ 2.50 $ 3.50 $ 5.90 Please can you help me understanding how to fix this bug? Link to comment Share on other sites More sharing options...
nrobba86 Posted February 23, 2016 Share Posted February 23, 2016 Having the same issue =( Any one have any ideas? 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