How to Configure Conditional Shipping and Payments Plugin on your WooCommerce Store

Creating a custom condition using the plugin can be done with a couple of clicks and usually doesn’t require any documentation or specialized knowledge; however, below, I will break down the entire process for you into a step-by-step.

1. Install and activate the plugin

You can download the plugin right after purchasing it from the “Thank you” page or anytime from the “Downloads” page in the “Members’ area”.

Once you’ve done that, in the WooCommerce admin dashboard, you need to navigate to the “Plugins > Add New” page and upload the plugin. Then activate it. If you’re using a WooCommerce multisite network, and you need the plugin on every store, then I would recommend network-activating it.

2. Create a conditional rule (for payments or shipping)

To create a conditional rule, please go to WooCommerce > Settings > Conditions, and then, depending on the type of condition you want to create, you need to select either the “Payment conditions” or “Shipping conditions” tab.

Let’s say that I decided to choose conditional shipping for now:

No conditions added yet for WooCommerce shipping
When you install the plugin on a brand new WooCommerce store, by default, it comes without any example conditions, so you need to create one

Now, we just need to click the “Add shipping condition” button:

Create a shipping condition in WooCommerce
The shipping methods in the dropdown list are conveniently grouped by their shipping zones.

The following actions are currently available in the plugin:

ActionDescription
Disable methods (payment and shipping methods)You can deactivate one or multiple shipping methods or payment gateways when a condition is satisfied.
Enable methods (payment and shipping methods)This option allows only selected methods from all available on your store for customers when a condition is satisfied.

It also means that if you have some payment gateways not enabled and not configured in the WooCommerce settings, the plugin will not affect them. The same applies for shipping methods.
Set “No methods available” messageThis option allows only selected methods from all available on your store for customers when a condition is satisfied.

It also means that if you have some payment gateways not enabled and not configured in the WooCommerce settings, the plugin will not affect them. The same applies to shipping methods.

Once we have decided which action we are going to use, it is time to configure conditions.

Configuring WooCommerce conditional shipping

Below is the list of all available shipping and payment conditions:

ConditionDescription
ProductIf the cart (or a WooCommerce order) contains a selected product.
Product category,
Product tag,
Product brand
If there are products from a selected category (tag or brand) in the cart (or in an order).
Product typesIf there are products of selected types in the cart, for example, a variable product or a subscription product.
UserIf it is a specific selected customer.
User rolesIf a customer is logged in and has one of the selected user roles.
Country (billing and shipping)If the customer’s country matches the selected one (you can choose between billing or shipping country, or both).
Postcode (billing and shipping)If the customer’s postcode matches the selected one
CouponsIf the selected coupon codes were used.
Shipping classIf there are products with this specific shipping class in the cart (or in a WooCommerce order).
Number of itemsIf there is a selected number of items in the cart/order.

You can also choose the comparison operators: =, <, <=, >, =>
Total weightSatisfied if total cart weight is lower <, lower or equal <=, greater >, or greater or equal >= than a defined value.
Cart subtotalSatisfied if cart subtotal is lower <, lower or equal <=, greater >, or greater or equal >= than a defined value.
Day of the weekIf an order is placed on a specific day (or days) of the week.
DateAllows you to set a specific date as a condition, or a date interval.

You can also choose the comparison operators: =, <, <=, >, =>
Time of dayAllows you to set a specific time of day as a condition, or a time interval.
If you can not find a condition you need here, feel free to reach out to me; there is a chance I could add the feature you need to the plugin without any extra charges.

3. Create multiple conditions within a single conditional rule

Since version 2.0, the plugin allows you to create multiple “AND” conditions within a single rule, which means that, for this rule to be applied, all its conditions should be met.

For example, let’s say you would like to disable payment methods when the total cart weight is less than 5kg (for example), but you don’t want this rule to be applied for all products, but only for products in a specific category! In that case, you will need multiple conditions, and it would probably be great to notify customers that they need to order more.

Below is an example of these conditions:

multiple payment and shipping conditions

4. Configure the WooCommerce conditional shipping and payments plugin

Last but not least, we can also take a look at the plugin settings, which you can find under the “General” tab.

WooCommerce conditional shipping and payments plugin settings page
You can completely exclude specific user roles in your WooCommerce store from any conditions.