Shipping Exchange Rate

  • Posts: 1
  • Thank you received: 0
11 years 9 months ago #56857

Test Scenario

1. Set the default currency to GBP
2. Set the Euro rate to 2
3. Set up 2 manual Shipping methods
a. UK FREE Shipping Minimum price £200
b. UK Standard Shipping £10 Maximum £200
4. Add items to the shopping chart so that the value is just less than £200 (say £150)
5. The shipping is charged at the correct amount.
6. Using the currency switcher, change to EUR.
7. Get the message “The total of your order is too low for all the possible shipping methods”

Investigation

1. In file administrator\components\com_hikashop\classes\shipping.php function function & getShippings, added print_r($rates); before calling onShippingDisplay and see that the shipping_min_price has been converted but the shipping_max_price has not.
2. In file \administrator\components\com_hikashop\classes\currency.php function convertShippings it appears that only the shipping_min_price is converted.
3. If this is the case then the Euro price of (say £150 x2) 300EUR will not be less than 200 nor greater than 400.

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

  • Posts: 81604
  • Thank you received: 13082
  • MODERATOR
11 years 9 months ago #56895

Hi,

Thank you for the feedback.

Indeed, the max price code for the conversion was not added when that option was added.

You can replace the currency.php file with the one attached in order to correct that.

Attachments:

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

Time to create page: 0.054 seconds
Powered by Kunena Forum