Shipping tax - mulitple items have decimal places

  • Posts: 48
  • Thank you received: 5
4 years 1 month ago #324310

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21


Hello,

I have a simple store with the product's prices "added with tax". I've set up a few manual shipping rules, which by default, use the same UK VAT. The shipping fees are per product.

I've added the shipping fees without tax, so at the checkout they should be correct. The problem is, because the shipping fees without tax have decimals, when multiple items are selected and multiple shipping fees applied the shipping fees start to include decimals.

For example, for one shipping rule the fee is £10 shipping per item. So the shipping rule has a fee of £8.33 (£8.33+20%VAT = £10). However, with two items the total shipping fee iis displayed as £19.99. I'd like to see £20

Is there a way to make the shipping fee to include taxes as this would probably resolve the issue.

Many thanks
Marcus

Last edit: 4 years 1 month ago by marcusadamski.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
4 years 1 month ago #324321

Hi,

First, there are two things you can check:
1. Instead of a fee of 8.33, you should enter a fee of 8.33333
That way, the rounding will be done better.
2. You have the "round prices during calculations" setting in the HikaShop configuration.
If that option is turned off, then the prices are calculated with all the decimals and only rounded at the end, during the display phase.
But if that option is turned on, then the prices are first rounded and then calculations occur with rounding being done at each step.
So toggling that setting might help.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum