Setting Up Shipping Rules for a Product Category
Assign allowed shipping methods to a WooCommerce product category so every product in it inherits the same rule.
Assign allowed shipping methods to a WooCommerce product category so every product in it inherits the same rule.
Assign allowed shipping methods to a WooCommerce product category so every product in it inherits the same rule.
If you have dozens of products that all share the same shipping restrictions — for example, a "Fresh Food" category that must only offer express couriers — setting a rule on the category is far more efficient than configuring each product individually. Every product in that category inherits the rule automatically.
Category rules are a Premium feature. Make sure your premium license is active before following these steps.
When both a product-level rule and a category-level rule exist for the same product, the product-level rule takes priority. Category rules apply as a fallback when no product-level rule is set.
This means you can set a broad rule at the category level and then override individual products within that category that need different treatment — without touching the rest.
Add a product from the category to a test cart and go to checkout. Only the shipping methods you assigned to the category should appear. If the product has its own rule assigned in the product editor, that rule will override the category setting.