DC2 - latest I have promotions (discounts/coupons) working so can see adjustments etc. I have set up a custom tax type - 20% and territory - UK set values on my Order item types (Physical goods, Digital goods,Services,Events) * How are these values related to assigning tax on a product in cart?

I can add a tax manually via order UI as admin. I'm not seeing tax entries on checkout, and no tax entries in adjustments table (other than manual one). * How is link between tax and order made? thanks


Answer to second question is that the tax cannot be calculated until Billing address is present (as depends on 'territory' of store & user) - so tax line is not seen initially until user reaches review stage. Once the tax (as an 'adjustment') is added to order, it then stays visible - eg if user goes back to cart to add/remove items. The tax value then gets updated to reflect new cart contents on clicking 'Update cart', or clicking Checkout.

| improve this answer | |
  • We use the store's address before the billing address is known, so if your store has a british address, then british VAT will be applied. You have a "European Union (VAT)" plugin that provides all tax rates for Great Britain btw, no need to create a custom tax type. – Bojan Zivanovic Jun 17 '17 at 18:32
  • Bojan - thanks, I was just trying it make it all work and have standard GB VAT working now. How are Standard/Reduced/Zero rates applied? Is it connected with the Order item type - Taxable type (Physical goods, Digital goods,Services,Events) ? – jons Jun 18 '17 at 19:51
  • On a new order, it seems we do need to have a Billing address before tax is shown. – jons Jun 18 '17 at 20:58
  • Right now you need to write a custom TaxRateResolver class to choose a rate other than standard (and yes, you can use the taxable type for that). A UI will be provided in later releases. – Bojan Zivanovic Jun 18 '17 at 22:31

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.