Conditional Shipping

Payment Gateway

Estimated reading: 6 minutes

Payment Gateway Based Condition

It allows you to add conditions based on payment gateway related conditions. It will restrict or show a notice on available payment gateways.

Available Conditions

Checkout all the conditions and options you can add to create rules with ShipPlus. 

ShipPlus allows you to create total number of 18 conditions under payment gateway based rules. Some of the rules are available for both global and separate application. Some of the rules are exclusive to global and separate rules. You can also find out available options too.

Conditions

Options

Satisfied when

Application

Backorder

min package

Package has at least one product on backorder.

Global

not min package

Package has at least one product not on backorder.

all package

Package has all product on backorder.

no package

Package has no product on backorder.

Country/State

is

Package billing country is same with listed value. If mentioned state, It should be same as field value. State should be mentioned in checkout page.

Both

is not

Package billing country is not same with listed value. If mentioned state, It should not be same as field value. State should be mentioned in checkout page.

Postcode

is

Package billing postcode is same or in range of listed value.

Global

is not

Package billing postcode is not same or not in range of listed value.

Cart Quantity

=

Quantity of items in cart is exact equal to field value.

Both

<

Quantity of items in cart is less than field value.

>

Quantity of items in cart is more than field value.

Quantity of items in cart is less than or equal to field value.

Quantity of items in cart is more than or equal to field value.

Category

min package

Contains at least one product from field value.

Global

not min package

Contains at least one product that is not listed in field value.

all package

Contains all product from field value.

no package

Contains no product from field value.

Coupon

used

Applied coupon is listed in field value.

Global

not used

Applied coupon is not listed in field value.

enables free shipping

Coupon that enables free shipping is applied.

does not enable free shipping

Coupon that does not enables free shipping is applied.

Customer

email is

Customer email is same as field value.

Both

email is not

Customer email is not same as field value.

Customer Role

is

Customer role is same as field value.

Both

is not

Customer role is not same as field value.

Data/Time

hour =

Order timing hour is equal to listed field value.

Both

hour ≠

Order timing hour is not equal to listed field value.

day in week =

Order timing day in week is equal to listed field value.

day in week ≠

Order timing day in week is not equal to listed field value.

day in month =

Order timing day in month is equal to listed field value.

day in month ≠

Order timing day in month is not equal to listed field value.

month =

Order timing month is equal to listed field value.

month ≠

Order timing month is not equal to listed field value.

year =

Order timing year is equal to listed field value.

year ≠

Order timing year is not equal to listed field value.

Order Total

<

Package order total is less than field value.

Both

>

Package order total is more than field value.

Package order total is less than or equal to field value.

Package order total is more than or equal to field value.

Package Item Quantity

=

Package has same quantity with field value.

Global

<

Package has less quantity than field value.

>

Package has more quantity than field value.

Package has less than or equal to quantity than field value.

Package has more than or equal to quantity than field value.

On Sale

min package

Shipping package has at least 1 product from field value which is on sale.

Global

not min package

Shipping package has at least 1 product not field value which is on sale.

all package

Shipping package has all product from field value which is on sale.

no package

Shipping package has no product from field value which is on sale.

Shipping Class

min package

Shipping package has at least 1 product from field value.

Global

not min package

Shipping package has at least 1 product is not from field value.

all package

Shipping package has products only from field value.

no package

Shipping package does not have any product from field value.

Shipping Location

is

Shipping package location is same or in range. If state is mentioned, It needs to be listed in state field and it should be selected on checkout page aswell.

Both

is not

Shipping package location is not same or not in range. If state is mentioned, It will match only if a non-listed state is selected

Shipping Postcode

Is

Shipping package postcode is same or in range.

Both

is not

Shipping package postcode is not same or not in range.

Shipping Method

is

Selected shipping method is in field value.

Both

is not

Selected shipping method is not in field value.

Stock Qty

<

Quantity of this product is less than field value

Separate

>

Quantity of this product is more than field value

Quantity of this product is less than or equal to field value

Quantity of this product is more than or equal to field value

How to Configure Globally?

Follow below steps to add payment gateway based conditions globally,

  • Go to WooCommerce > Settings
  • Open Rules & Conditions Tab
  • Open Payment gateway section
  • Click on add condition
  • Add following details,
    • Condition Name – Add name/description for current rules.
    • Disable – Choose the payment gateway that you want to disable with current rules.
    • Options – Activate this to display all payment gateway options. it will show a notice with ineligible gateway. (Use condition table to learn more)
    • Descriptive Notice – Activate descriptive notices for customers.
    • Notice – Add a custom notice for your customers.
  • Click on add condition > Choose your preferred condition
  • Assign action and field data to rule
  • Click on save changes.

Your conditional rules will be created and applied to store automatically after this.

If you only want to use global conditions, move to notices and testing doc after this.

How to Configure Separately?

Follow the below steps to add payment gateway based conditions separately,

  • Go to products > Chose the product you want to edit
  • Click on Edit Product
  • Open Shipping rules tab under product data.
  • Click on choose condition 
  • Choose your preferred condition to add rules
  • Add following details,
    • Condition Name – Add name/description for current rules.
    • Disable – Choose the payment gateway that you want to disable with current rules.
    • Options – Activate this to display all shipping options. it will show a notice with ineligible gateway. (Use condition table to learn more)
    • Descriptive Notice – Activate descriptive notices for customers.
    • Notice – Add a custom notice for your customers.
  • Click on add condition > Choose your preferred condition
  • Assign action and field data to rule
  • Click on save changes.

Your conditional rules will be created and applied that product only.

Note – Some actions will not be available in separate application method.

EASY ACCESS