How to Use Conditional Rules to Restrict WooCommerce Shipping

How to Use Conditional Rules to Restrict WooCommerce Shipping

Sometimes as store owners, we face some challenges when it comes to shipping methods. Imagine with me that you can determine the shipping method used according to the product, the customer’s country, the payment method, or even according to the time and date, all in line with the shipping strategy of your store. How much will it facilitate your store’s operations and improve its performance?

In today’s article, I will guide you through the process of installing the powerful tool called The Conditional Shipping for WooCommerce plugin, a tool that will simplify your shipping strategies and optimize your store’s efficiency.

Walk with me to discover how to make the most of this amazing plugin, let’s go!

Conditional Shipping for WooCommerce

Step1:

  • Download The Plugin

The first thing you need to do is download the “The Conditional Shipping for WooCommerce plugin plugin from your WPFactory account, and upload it to your WordPress site.

WooCommerce shipping - Step1

Step2:

  • Access The Plugin

Once the plugin is installed and activated, you can tailor it to fit your business needs as desired.

To access the plugin: Go to WPFactory tab > WooCommerce Conditional Shipping: Restrict Shipping Options by Anything

Step3:

  • General Options

After accessing the plugin, go to general options. The first thing you need to do is enable the plugin using the checkbox shown in the image below. 

WooCommerce shipping - Step3

  • Logical Operators:

It is used when there are multiple conditions that are enabled by shipping strategy. 

AND: This parameter is used when there are multiple conditions that must be correct to activate the process. 

For example, Enable free shipping if an order is over a certain amount AND if a product is in a “Free” shipping class.

Which means that the two conditions must be applied to complete the process. 

OR: This parameter is used when the operation can be achieved if only one of the conditions is true. 

For example, Enable free shipping if an order is over a certain amount OR if a product is in a “Free” shipping class.

Which means if the order is over a certain amount OR if a product is in free shipping class. 

WooCommerce shipping - Step3(2)

  • Add Product Variations 

If the conditions are related to “Require Products”, “Exclude Products”, this option affects them. Enabling this option means that you will be able to add variations for products such as size, color to the product list. 

  • Require All

If you enable the “Require All” option it means that ALL  products in the cart must be valid.

This option affects only these conditions: 

  • Require Products
  • Require Product Categories
  • Require Product Tags
  • Require Product Shipping Classes
  • Cart Instead of Package

When this option is enabled, it means that you will not apply the conditions to the package (products grouped together) but the conditions will be applied to all products in the cart individually. This means that if you have a set of products in the cart, conditions such as “Minimum Order Amount”, “Maximum Order Amount”, “Require Products”, “Exclude Products”, etc, will be reviewed for all the products within the cart instead of a specific package or set of products. 

  • Use Shipping Instances

Enabling this option allows you to assign different conditions to shipping cases. Such as flat rate, in different shipping areas or in the same region. 

  • Debug

When you enable this option, a record will be added in the status section of WooCommerce. This log can help track errors. 

WooCommerce shipping - Step3(3)

Step4

  • Order Amount

When this section is enabled, you will be able to specify a minimum order amount based on the shipping method.

You can put the amount you want at the shipping method you want to apply.

    • Flat Rate: A shipping method that allows the seller to specify a fixed shipping cost that applies for all orders regardless of the weight or size of the product or the customer’s location.
    • Free Shipping: The stores offer free shipping to customers, usually when they meet certain conditions, such as a minimum order.
  • Local Pickup: An option that allows customers to receive their orders directly from a specific store location or warehouse instead of shipping them.

And the same thing for Maximum Order Amount.

WooCommerce shipping - Step4

Step5

  • Cities

    • Require Cities

When this option is enabled, you can specify a condition related to the cities with which the shipping methods can be used.

You can specify the shipping method you want to use for each city by putting the city name in the box.

WooCommerce shipping - Step5

    • Exclude Cities

You can also identify the cities you want to exclude from some shipping methods.

WooCommerce shipping - Step5(2)

Step6

  • User Roles 

And the same thing here, this section allows you to specify the roles that are allowed to use specific shipping methods, or the roles you want to exclude with some specific shipping methods.

WooCommerce shipping - Step6

Step7

  • Users

When this option is enabled, you can then specify the user IDs that can benefit from different shipping methods or exclude them.

WooCommerce shipping - Step7

Step8

  • Payment Gateways

Here you can specify the payment methods you want to include or exclude with shipping methods.

WooCommerce shipping - Step8

Step9

  • Products

Here you can enter the names of the products you want to include or exclude in the shipping method you want.

WooCommerce shipping - Step9

Step10

  • Product Categories

Here, you can select entire product categories to include or exclude it from the shipping method, instead of selecting individually.

WooCommerce shipping - Step10

Step11

  • Product Tags

Product tags are keywords assigned to products in WooCommerce to provide extra details and improve searchability.

Here you can specify the product tags you want to include or exclude from any shipping method.

WooCommerce shipping - Step11

Step12

  • Product Shipping Classes

This feature allows store owners to apply specific shipping rates or rules to a group of products that share similar shipping requirements such as size, weight, or anything else.

When this option is enabled, you can determine which product shipping classes you want to include or exclude.

WooCommerce shipping - Step12

Step13

  • Date/Time

From here, you can specify the hours, days, or months during which you want to enable or exclude methods. For example, you can disable the local pickup option after 8 PM, or enable free shipping only during specific seasons.

WooCommerce shipping - Step13

Final Words

This way, you have complete flexibility in controlling your shipping strategy with just one tool and with high ease. Leading to improved and streamlined operations that align perfectly with your store.

free eBook to boost our sales

UNLOCK 10% OFF your next order

And get a free eBook as well!

We don’t spam! Read our privacy policy for more info.

 

Best 65+ Plugins WPFactory

Leave a Reply

Your email address will not be published. Required fields are marked *