mexis Posted October 3, 2015 Share Posted October 3, 2015 Hi all, I will try to highlight the problem that occurred when displaying prices in CZK. The e-shop are two currencies, the main currency is the euro in the currency you manage all the products, but e-shop is to be displayed Czech currency (CZK) and I will show you the process and what came out of it. 1) Looking at the currency if we have them. 2) Set the default currency in which we enter a price for the products. 3) open the product, we set the price. 4) Set a price increase according to the required attributes (all store) 5) Look at the product and see the price behaves as if it were the euro, but says that it is the crown. 6) Click on the button to buy and receive us Czech right price in the shopping cart price also appears correctly, but the product is wrong! What to do? How is it that the price of the product displayed incorrectly. It's somehow fix? Link to comment Share on other sites More sharing options...
Rolige Posted October 4, 2015 Share Posted October 4, 2015 Do you have some custom module that can alter the price? Your PrestaShop was updated before or is a fresh installation? Have you changed your default currency before? Try something, in the Performance tab, disable all non native modules and overrides, as recommendation, clear the cache. Link to comment Share on other sites More sharing options...
mexis Posted October 4, 2015 Author Share Posted October 4, 2015 Do you have some custom module that can alter the price? Your PrestaShop was updated before or is a fresh installation? Have you changed your default currency before? Try something, in the Performance tab, disable all non native modules and overrides, as recommendation, clear the cache. No, I have some custom module. Only Prestashop 1.6.1.1 and nothing else. I've tried everything from what you wrote. I'm sure that's not just my problem but a global problem. Link to comment Share on other sites More sharing options...
mexis Posted October 4, 2015 Author Share Posted October 4, 2015 (edited) I find a problem. ProductController.php in line 456 we have product attribute but without currency rate $combinations[$row['id_product_attribute']]['price'] = (float)$row['price']; i replace to $combinations[$row['id_product_attribute']]['price'] = (float)$row['price']*$this->context->currency->conversion_rate; AND IT WORKS!!!!!!! >D Edited October 4, 2015 by mexis (see edit history) 3 Link to comment Share on other sites More sharing options...
hubbe48 Posted October 12, 2015 Share Posted October 12, 2015 Hello I have the same problem with PrestaShop 1.6.1.1 Is your webshop OK now after the change? Hubbe-48 Link to comment Share on other sites More sharing options...
hubbe48 Posted October 13, 2015 Share Posted October 13, 2015 Hi I tested this and it´s work. Hubbe-48 Link to comment Share on other sites More sharing options...
Cha Wang Posted November 13, 2015 Share Posted November 13, 2015 @Mexis, I think you deserve the biggest hug from the whole Prestashop user community! Especially those users who need to have both combinations and more than one currency. A big THANK YOU!!! 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