Create a new shipping rule

The plugin allows creating general or specific rules and applying them to all or selected products in the shop. Let’s see how this works.

How to create general rules?

All the general shipping rules have to be created in the “Global shipping costs” section from the menu YITH Plugins > Product shipping.

settings shipping

By selecting the “Product Variations” option, you can enable rules for each product variation (note: this will increase loading time).

Table

Each rule is on a new line.

More global rules

Let’s look into each single rule configuration parameter:

  • Single product quantity: minimum and maximum product quantity in the cart as a condition for the rule to apply.
  • Cart total price: minimum and maximum cart amount. The rule does not apply if the total cart amount falls outside the specified values.
  • Categories: enter the product categories that you want to associate with the rule. Leave it empty if you want to include all existing categories.
  • Tags: enter all the product tags that you want to associate with the rule. Leave it empty if you want to include all existing categories.
  • Country, State and Postal Code: use these fields if you want to associate the rule with a specific shipping zone. By default, the rule applies to users worldwide.
  • Shipping cost: fee added to the cart if the shipping rule applies.
  • Product cost: fee added to the cart for each product unit in the cart.

The shipping cost is calculated as the sum of shipping cost and product cost associated with the rule.

Create product rules

The plugin allows creating custom shipping rules both for simple and variable products.

SIMPLE PRODUCTS

Open the product page, click on the “Shipping Costs” tab and check the option “Enable Shipping Costs”.

Rule creation in simple product

As for general rules, you’ll be able to configure the rule using the above-mentioned parameters.

Product rules always take priority over general rules.

VARIABLE PRODUCTS

If you are working on a variable product, you can choose one of the following options:

  • create product rules that apply to all the product variations: click on the “Shipping Costs” tab and configure the rules.
    Rule for variable product
  • create rules for each single variation: select the variation, enable the option “Custom shipping costs” and create your custom shipping rules.
    Rule for single variation

Rules applied to a product variation always take priority over rules applied to variable products.