Price advantage not displayed correct in different currency

  • Posts: 297
  • Thank you received: 22
5 days 15 hours ago #366567

-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.2.5
-- PHP version -- : 8.2.28

Hi,
I have products with a MSRP price in Euro's along with a "regular" price in euro's.

It show's like this :
Basic price: € 374,61
Swann price: € 329,66
Swann price ex VAT: € 311,00
Your advantage: € 44,95

When you change the currency to dollars it looks like this:
Basic price: $414.21
Swann price: $364.51
Swann price ex VAT: $343.87
Your advantage: $10.10

I would expect the "Your advantage" to be almost the same amount because of the exchange rates are pretty close.
(Basic price - Swann price = 414.21-354.51 = 49.70 and not 10.10 :)

Maybe you can give me a hint on where I might have made a mistake?

Please Log in or Create an account to join the conversation.

  • Posts: 83590
  • Thank you received: 13528
  • MODERATOR
4 days 23 hours ago #366570

Hi,

I don't think you made any mistake with your setup. It's just that HikaShop is using the original value of the MSRP instead of the converted value to calculate the advantage.
I've made a patch which should help.
Download again the latest version of the HikaShop install package on our website and install it on yours to get the patch.
It should hopefully fix the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 297
  • Thank you received: 22
4 days 23 hours ago #366571

Hi Nicolas,
I have downloaded the latest and installed it but it does not seem to do the trick just yet.

Please Log in or Create an account to join the conversation.

  • Posts: 83590
  • Thank you received: 13528
  • MODERATOR
4 days 18 hours ago #366577

Hi,

Following your feedback, I've tested the change on my end and confirm that it works for me and solves the problem.
If it doesn't on your website, then either you made a mistake and used an old install package, or something.
Or, you already have a view override of the product / price view file and thus you didn't get the changes I had to make in that view file in your override.

The following user(s) said Thank You: nico.van.leeuwen

Please Log in or Create an account to join the conversation.

  • Posts: 297
  • Thank you received: 22
4 days 17 hours ago #366585

I found what happened ... I had some files still in the site of the original advanced price display.
After removing them it all looks better.

Thanks again for the very fast response !

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum