eid-mubarak
Eid Mubarak

How to Add Quantity Based Shipping Conditions in Advanced Shipping

In this guide, I’ll show you how you can create shipping strategies based on the quantity of a product you have on your cart or maybe the number of the different products they have on their cart.

For example, you want to give less shipping charge when people purchase 10 items in their cart. Otherwise, it will be a regular shipping charge.

So let’s get started on how see how it works,

Adding Item Based Shipping Conditions #

1. First of all, Go to Advanced Shipping Method Settings

2. Scroll down and you will get this option to add shipping cost calculation rules.

3. Click on the add condition rule to set the price shipping condition for your WooCommerce store.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 1

4. In shipping cost calculation rules, select the “Item” in the When field.

Then select the quantity of products. For example, Here you have added 10 to 20 products and the shipping charge is $12.

That means when customers add between 10 to 20 products they will be charged $12 for shipping.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 2

5. Now let’s see how it looks in the store.

Suppose a customer added 15 products as you have set between 10 to 20 products will be charged $12. It meets the conditions and the shipping charge is showing according to the condition for a specific location.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 3

It doesn’t matter whether your customer chooses the same products or different products if it meets the condition of between 10 to 20 products they will be charged $12. As an example, you can see the image below.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 4

Adding Cart Line Iten Based Shipping Conditions #

Cart line item shipping condition is based on the line of products in the carts although there are 100 products in the same line.

For example, you want to give less shipping charge when people purchase 3 different products or different attributes. for more clarification, you have added 10 products to your cart (3 t-shirts, 4 jeans, 2 caps) it will go in 3 lines. then this condition will be applicable.

1. Click on “Add condition rule” for cart line shipping conditions.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 5

2. In shipping cost calculation rules, select the “Cart Line Item” in the When field.

For example, if you set here from 3 to 5 in the quantity fields the shipping charge will be $10.

3. Click on Save Changes to apply the condition.

cart line item based shipping

4. Now let’s see how it looks in the store.

You can notice one thing there are 3 lines of products, the customer selected 3 beanies in one line, 1 belt in the second line, and 3 T-shirts in the 3rd line. As it meets 3 to 5 line conditions shipping charges are $10 according to Advanced shipping conditions.

How to Add Quantity Based Shipping Conditions in Advanced Shipping 6

That’s all! This is how you may create quantity based shipping strategies.