Exclude items from shipping cost calculations

Commerce allows you to exclude certain items, for example gift wrapping or electronic downloads, from the order total for the purposes of calculating shipping costs.

For example, if an order contains a DVD that costs $25 and three electronic gift cards that cost $50 each, the order total used for shipping cost calculation is $25, not $175.

To exclude items from shipping cost calculations, perform the following tasks:

  1. Create one or more non-navigable collections and add the items you want to exclude from shipping methods to them. See Create collections for the excluded items for more information.
  2. Update the shipping methods from which you want to exclude items with one or more of the collections you created in the previous step. See Update shipping methods for more information.