Order Calculation

Customer Service Center uses the same order calculation routines for pricing, taxes, shipping charges, and promotions as B2C Commerce. The current SiteGenesis application contains a registration for basket (order) calculation.

The calculation logic location depends on the version of SiteGenesis Storefront Core cartridge used by the B2C Commerce site.

If you're using the current SiteGenesis version, the calculation logic is in the hook and the script calls:

If you're using an older version of SiteGenesis, you register the calculate hook to call the CalculateCart.ds file.

See dw.order/hooks in the Infocenter's B2C Commerce Scripts main topic.