QuestionQ49

VerifiedCustomize Commerce features

A company wants to build an Adobe Commerce website to sell its products to customers in its country. Taxes in that country are highly complex and require customization in Adobe Commerce. An Architect is attempting to solve this by creating a custom tax calculator that handles tax calculations for all Adobe Commerce orders.

Following best practices, how should the Architect add taxes for all orders?

Explanation

Adobe Commerce calculates quote and order amounts through its totals-collection pipeline. A custom total collector registered in a custom module’s etc/sales.xml integrates the tax calculation with that pipeline so it is recalculated consistently as quote totals are collected and carried into the order. Adobe’s Commerce extension documentation specifically uses etc/sales.xml to declare a custom quote total.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!