In Craft 3, Commerce 2 is there a way to set a different tax category or rate on a cart/site when using commerce in a multi site environment? Site A (b2c website) has tax rate 1 (21% with tax included in price) and site B has tax rate 2 and 3 (21% with tax excluded in price and a 0% tax rate). Both sites use the same products/inventory but are targeted for different audiences (b2c and b2b).

I’m looking for a solution that works simular like posting to the update-cart action when adding products to the cart.

Or, even better would be to be able to set defaults for the cart when setting {% set cart = craft.commerce.carts.cart %}.

1 Answer 1


As of Commerce 2.0, there is no support for multi-site apart from a product’s custom field information.

A cart exists in the session, once per Craft installation, and there are not separate carts per site.

Multi-site is something we plan to add in the future.

Having said that, a cart stores the current orderLanguage based on the current language of the site the order is being made in. A custom adjuster could be written to add custom tax costs based on this information: https://github.com/craftcms/commerce/blob/develop/docs/adjusters.md

  • Thanks for sharing your thoughts. Setting an adjuster isn't an option for me, because it's a multilingual (besides multisite). I worked around it by calculating tax in twig. My client will send custom invoices for b2b. Would love to see a real solution from Pixel & Tonic though...
    – Sander
    Jan 18, 2019 at 13:50
  • Please submit a feature request to craft commerce’s GitHub issue tracker. Thanks. Jan 21, 2019 at 14:12
  • Is this still the case? I never noticed my cart carrying orders from one site to another until recently. May 12, 2020 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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