2

A client is asking if the order calculation can show a 20% tax calculation on the shipping price.

From looking through Commerce 3, it seems this isn't possible, eg Shipping prices are always assumed to be inclusive of tax?

  • Hey @james-greig, have you found out something here? It does not make sense that shipping is without tax. We are having this problem too and we need a solution for this as well. – Simon Franzen Jul 29 at 16:59
  • See answer below @SimonFranzen should help! – James Greig Jul 29 at 19:11
1
+100

We fixed this by doing three things...

  1. On our tax rate, setting "Taxable Subject" to "Order total taxable price (Line item subtotal + Total discounts + Total shipping)"
  2. Also on our tax rate, turning on the "Is this tax is already included in the taxable subject?" switch.
  3. In our templates, wherever tax is displayed, changing from {{getTotalTax}} to {{getTotalTaxIncluded}} — eg to display the total tax (included) on a basket for both line items and shipping you'd want something like {{ cart.getTotalTaxIncluded('tax')|commerceCurrency(cart.currency) }}





enter image description here



enter image description here

| improve this answer | |
  • Thanks man! We try it tomorrow! – Simon Franzen Jul 29 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.