Jump to content

Combination price increase incorrect


Recommended Posts

Hi.

 

I'm having a problem with prestashop v. 1.5.2.

My default currency is set to ZAR. Everything works fine, currency conversions also works fine.

 

However on the combination price increase it shows the incorrect price increase on the front shop.

Everything works and shows correctly in the back office and even the cart.

 

But on the product itself, it seems like the increase is calculated using the wrong currency.

 

E.g. I have a product for R100.00

If you select a option, the price should increase with R10, making the final price R110.00

When I select this option on the front shop, the price actually increases to R188.22... this is a price increase of $10 and not R10 ($10 = R88.22).

 

When I add this product to my cart, the price is corrected and shows as R110 and not R188.20

 

I will attach a set of pictures to show.

 

How do I fix this issue. I've tried multiple options.. decrease price even.

 

Regards,

Nico

post-403718-0-05513200-1354090641_thumb.gif

post-403718-0-94651800-1354090641_thumb.gif

post-403718-0-31948800-1354090838_thumb.gif

post-403718-0-20315700-1354090839_thumb.gif

post-403718-0-96537400-1354090839_thumb.gif

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

I just ran into this in my shop too (I am running version 1.5.3.1). On lines 350 - 353 of product.js, you can see how PS will determine the price to display for a particular combination

 

selectedCombination['price'] * currencyRate

 

So, it will multiply the price of the selected combination by the currency rate of whatever currency is selected in your shop—including your default currency—and add that to the base price of the product.

 

In Localization > Currencies, if you set the exchange rate for your default currency to 1, the prices for the selected combinations should start calculating correctly.

Link to comment
Share on other sites

×
×
  • Create New...