Using Categories in the Shipping Gateway Plugin (Dreamfox Media)
Shipping Gateway per product for WooCommerce
Shipping Gateway per product for WooCommerce
โ
The Shipping Gateway Per Product for WooCommerce plugin by Dreamfox Media allows you to control shipping methods not only per product, but also based on product categories.
This gives you powerful flexibility to show or hide shipping options depending on what customers are buying.
Before category rules will work, you must first enable the feature.
๐ Important: Make sure to check the โEnable sectionโ checkbox at the top of the category settings.
If this option is not enabled, all category-based rules will be ignored (yesโฆ silently ๐ ).
For each shipping gateway (method), you can define:b
โ Include Categories
โ Exclude Categories
This allows you to control exactly when a shipping method should appear during checkout.
When you add categories to Include Categories:
The shipping method will ONLY be available for products in those categories.
If the cart contains products outside these categories โ the method will NOT be shown.
Example:
Include: Accessories
Result: Shipping method is only available when the cart contains products from Accessories.
When you add categories to Exclude Categories:
Example:
Exclude: Decor
Result: Shipping method is NOT available if the cart contains Decor products.
You can use both options together:
Include defines where it IS allowed
Exclude defines where it is explicitly blocked
Priority tip:
Each shipping method (e.g. Free Shipping, Local Pickup) can have its own category rules.
This means you can create setups like:
Free Shipping โ only for Accessories
Local Pickup โ only for Clothing
Express Shipping โ everything except Heavy Items
Offer Free Shipping only for small/light items
Disable certain shipping methods for fragile or oversized products
Enable Local Pickup only for specific product types
Customize checkout experience per product category
If nothing seems to work:
๐ Check if โEnable sectionโ is turned ON
No checkbox = no magic.
Combine category rules with:
Product-level settings
Tags
Default shipping options
โฆto build a fully customized shipping flow without complex setups.
โ
โ