Rounding for free shipping

  • Posts: 278
  • Thank you received: 14
  • Hikashop Business
4 months 2 weeks ago #357493

-- HikaShop version -- : 5.0.2

I use 2 manual shipping plugins for free shipping obove 35€.
One is set to maximum price 34,99. Another is set to minimum price 35,00€.

Now the problem is when I have product with price 35€. Our VAT is 5% (for this type of products).
So if I enter price in product 33.33333 (without vat), calculated price with tax is 34.9999965. If I enter 35€ in price with tax it corects me to 34.9999965 when saved.
So it never shows shipping method if I buy that product.
For now the solution is entering 33.33335 € in price without vat. So I get 35.0000175€ in price with tax.

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
4 months 2 weeks ago #357501

Hi,

The min/max price restrictions in shipping methods also support up to 5 decimals.
So instead of using 35.00 and 34.99 you could use: 34.99449 and 34.99550
That way, if the price of the product is 39.9999965, a min price of 34.99550 will match.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum