1. Home
  2. /
  3. Docs
  4. /
  5. Conditional Shipping for ...
  6. /
  7. Pro Features
  8. /
  9. Conditional Shipping with...

Conditional Shipping with Product Shipping Classes in WooCommerce Product Shipping Classes

HA4wsWpZUp06etcCiWscdnzRkO98CqH nBRR42txIUrnzTL NRuVAJSAxksr4g6F59z2p8jYxpllFKvaYYT2zmE17NeHmI680NpK3eny Lsjow w0C3gPRB Day Y4elyACDVp4Wix d 4y0vC8 bpg

The Conditional Shipping for WooCommerce plugin, along with its Pro version (https://wordpress.org/plugins/conditional-shipping-for-woocommerce/), offers a powerful feature known as Product Shipping Classes. This functionality allows you to create intricate shipping rules based on how you’ve categorized your products within WooCommerce.

Understanding Product Shipping Classes

WooCommerce provides a built-in feature for assigning “Shipping Classes” to products. These classes act as labels to group products with similar shipping requirements (e.g., size, weight, fragility). Conditional Shipping leverages these classes to define targeted shipping rules.

Using Require Product Shipping Classes

  • Enable Condition: Activate the checkbox next to “Enable condition” for a shipping method (e.g., Flat Rate) to define product shipping class requirements.
  • Selecting Classes: Currently, “No shipping class” is selected for all conditions. You can assign specific shipping classes (e.g., “Fragile Items”) to products. By enabling the condition and selecting a class, only customers adding products from that class to their cart would see the “Flat Rate” shipping option during checkout.

Potential Use Cases

  • Special Handling for Fragile Items: You can create a shipping class named “Fragile Items” and assign it to relevant products. Then, use “Require Product Shipping Classes” to ensure the “Flat Rate” shipping option only applies to these items, potentially with a more careful handling fee included.
  • Expedited Shipping for High-Priority Items: If you offer a premium “Expedited Shipping” option, you can create a shipping class named “Priority” and assign it to specific products requiring faster delivery. By using “Require Product Shipping Classes” with the “Expedited Shipping” method, you can ensure this option is only available for these high-priority items.

Using Exclude Product Shipping Classes

  • Enable Condition: Activate the checkbox next to “Enable condition” for a shipping method (e.g., Local Pickup) to define product shipping class exclusions.
  • Selecting Classes: Similar to “Require”, you can choose shipping classes to exclude. By selecting a class (e.g., “Oversized Items”) and enabling the condition, customers adding products from that excluded class wouldn’t see the “Local Pickup” option during checkout.

Potential Use Cases

  • Oversized Items and Local Pickup: For products assigned to a “Bulky Items” class, you can use “Exclude Product Shipping Classes” to prevent customers from choosing “Local Pickup” and prioritize alternative shipping methods suitable for these bulky items.
  • Inventory Management by Class: If you have limited in-store stock for a specific shipping class (e.g., “Clearance Items”), you can temporarily exclude that class from Local Pickup using “Exclude Product Shipping Classes” to prioritize fulfilling online orders while managing limited in-store availability.

Choosing Between Require and Exclude

  • Use “Require Product Shipping Classes” to make specific shipping methods available only when customers add products from certain shipping classes (e.g., “Fragile Items” requiring special handling).
  • Use “Exclude Product Shipping Classes” to restrict specific shipping methods from being used when customers add products from certain shipping classes (e.g., excluding “Local Pickup” for “Bulky Items”).

Additional Considerations

  • Effective Class Assignment: Ensure you assign relevant shipping classes to your products for optimal use of this functionality.
  • Conditional Shipping Pro: The Pro version offers bulk import options for product shipping classes, making it easier to manage a vast product catalog.

In Conclusion

By leveraging “Require Product Shipping Classes” and “Exclude Product Shipping Classes” within Conditional Shipping for WooCommerce, you can create a highly customized shipping strategy that caters to specific product characteristics, prioritizes special handling needs, and optimizes your fulfillment process based on pre-defined product classifications. Remember to explore the Conditional Shipping Pro version for extended features, especially if managing a large number of products and their assigned shipping classes.