When using a displayed but not publicized currency, the shipping amount is wrong

  • Posts: 2
  • Thank you received: 0
6 years 9 months ago #287931

-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.0.23
-- Browser(s) name and version -- : multiple
-- Error-message(debug-mod must be tuned on) -- : none

  • Standard install (with sample data) (HS 3.3.0) (Joo 3.8.5)
  • Configure Dutch tax = 21%
  • Configure manual shipping price = €5,37190 (including tax this will be €6,50)
  • Show currency USD, but do not publicize it, set rate to 1.23761
  • Create order with:
    • 1 Black shoes: €181,50
    • manual shipping
Results:
  1. On product listing screen: "Black shoes $224.63 (181,50 €)"
  2. On checkout screen: "Manual shipping 5,25 € ($6.50)"
  3. 3) in database table hikashop_order:
    SELECT order_shipping_price, order_shipping_tax, order_shipping_params FROM hikashop_order where order_id = 20;
    # order_shipping_price, order_shipping_tax, order_shipping_params
    '5.25206', '0.91151', 'O:8:\"stdClass\":1:{s:6:\"prices\";a:1:{s:3:\"2@0\";O:8:\"stdClass\":3:{s:14:\"price_with_tax\";d:5.2520575948804549;s:3:\"tax\";d:0.91151412803710397;s:5:\"taxes\";a:1:{s:3:\"BTW\";d:0.91151412803710363;}}}}'[\li]
What I expected:
2) "Manual Shipping $8.04, (6.50 €)"
3) '6.50', '1.43', ... (prices rounded)

Conclusion: for shipping prices, the conversion rate seems to be inverted and on the checkout page the symbols are not consistently/correctly placed.

Last edit: 6 years 9 months ago by erwind.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 9 months ago #287944

Hi,

Thank you for your feedback. We've added a patch for that.
You can download the install package again on our website and install it on yours to get the patch.
Note that HikaShop has a caching system in the user session for shipping methods so you'lll have to clear your user session to be able to see the change.

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

  • Posts: 2
  • Thank you received: 0
6 years 9 months ago #287969

Thanks for your quick reaction and solution. I will try the latest version.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum