How to Set Up Conditional Logic Based on Cart, User, and Product?

Setting Up Conditional Logic on Orders

This feature allows for highly customized and optimized shipping fee structures. You can ensure that shipping costs reflect the specific characteristics of each order. Additionally, it enhances customer satisfaction by tailoring shipping fees to their unique circumstances, such as location or order size. Implementing such detailed conditions also helps store owners manage shipping costs correctly. Follow the steps below:

Install and activate the WooCommerce Weight-Based Shipping Fee plugin. 

In your WordPress dashboard, go to WooCommerce > Weight-Based Shipping Fee.

Click on “Add New Rule”. A new interface will appear where you need to provide the following details:

Configure Additional Conditions:

  • Locate “Additional Conditions”.
  • Click on “Add Group” and provide the necessary details:
    • Cart Based Conditions:
      • Subtotal
      • Subtotal Excluding Tax
      • Tax
      • Quantity
      • Coupon
      • Weight
    • User Based Conditions:
      • Zip Code
      • Country
      • State
      • City
      • User Role
      • Specific Customer
    • Product Based Conditions:
      • Width
      • Height
      • Length
      • Stock
      • Stock Status

Complete any additional details for the rule as needed.

Click on “Publish” to apply the rule or save it as a draft.