I’m having a strange problem with taxes on a webshop I’m developing. We have two regions: Netherlands and Belgium. For the Netherlands we used the standard WordPress options to set up shipping (could use your plugin too, but isn’t needed). We have 3 options: standard shipping, free shipping (above 200 euros), and insured shipping (always available, even when free shipping is available).
In Belgium we have 4 options: standard shiping, free shipping (above 200 euros) and 2 types of insured shipping: insured up till 100 euros or up till 500 euros, depending on the total amount being ordered. For Belgium we have one flexibel shipping with 2 shipping methodes.
Methode 1 is standard shipping: regular shipping costs or free shipping when above 200 euros.
Methode 2 is insured shipping. We have set up two price based rules. When the price is up till 100, then shipping should cost €15,50. When the price is higher then €100 the shipping should cost €18 if they want to use insured shipping.
We’ve added products with prices inclusive of tax. The strange part starts in the cart. Lets use this product as an example: https://www.novaskin.nl/product/ageless-total-anti-aging-serum/. When I add it to the cart (https://www.novaskin.nl/winkelmand/) and calculate shipping costs (in Dutch: “Bereken verzendkosten”) to Netherlands (Dutch: “Nederland”) it shows a subtotal of €73,50 and adds the shipping costs of a regular shipping (8,41), which makes the total €81,91 which is correct.
When I change shipping to Belgium (so again > click on “Bereken verzendkosten” an choose “België”) it shows the subtotal as €60,74. For some reason it extracts the tax from the product and uses that as subtotal, which isn’t correct, because the tax isn’t being added later anymore. It does: 73,5/1,21 (21% tax), which is 60,74. Then it adds 13 euros for standard shipping, which makes a total of €73,74. As you can guess, this is not correct.
What I would like to achieve is the following for Belgium: the subtotal should be the price entered in the backend, so inclusive of tax. Then the shipping costs should be added and there also have to be added 21% tax over the shipping costs. Now it only adds the 13 euros for shipping, but we also have to pay tax over shipping costs.
Does this make any sense? If you need further explanation, please feel free to ask any questions to help me out. Thanks for helping out.
- The topic ‘Strange tax calculation’ is closed to new replies.