[Skip to main content](#vessel-content)

#   Shipping Exchange Rate

##

- **[derek1066](/forum/user/8133-derek1066 "View derek1066's Profile")**
- [![derek1066's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8133-derek1066 "View derek1066's Profile") Topic Author
- [ Offline](/forum/user/8133-derek1066)

Less More

- Posts: 1
- Thank you received: 0
-
-

14 years 4 months ago [\#56857](#56857) by [derek1066](/forum/user/8133-derek1066 "View derek1066's Profile")  *[Shipping Exchange Rate](/forum/3-bug-report/56857-shipping-exchange-rate#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&#92;components&#92;com&#95;hikashop&#92;classes&#92;shipping.php function function &amp; getShippings, added print&#95;r($rates); before calling onShippingDisplay and see that the shipping&#95;min&#95;price has been converted but the shipping&#95;max&#95;price has not. 2. In file &#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;currency.php function convertShippings it appears that only the shipping&#95;min&#95;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.")* was created by *[derek1066](/forum/user/8133-derek1066 "View derek1066's Profile")*

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 &amp; 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81Njg1Ny1zaGlwcGluZy1leGNoYW5nZS1yYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 4 months ago [\#56895](#56895) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Shipping Exchange Rate](/forum/3-bug-report/56857-shipping-exchange-rate#56895 "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&#92;components&#92;com&#95;hikashop&#92;classes&#92;shipping.php function function &amp; getShippings, added print&#95;r($rates); before calling onShippingDisplay and see that the shipping&#95;min&#95;price has been converted but the shipping&#95;max&#95;price has not. 2. In file &#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;currency.php function convertShippings it appears that only the shipping&#95;min&#95;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.")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81Njg1Ny1zaGlwcGluZy1leGNoYW5nZS1yYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
