Skip to main content

Let's try to understand how the Pro Shipment plugin works with this basic example.

 Let's try to configure this example

  1. Shipping rates are based on weight when the delivery is  to France
  2. For International (all countries except for France), the shipment cost is a fixed price of 10 euros
  3. For France, I want to offer the shipment if the Sales Price is over X €
  4. For France, I want to offer the shipment to customers with the coupon code XYZ

Step 1: Shipping rates are based on weight when the delivery is  to France

Let's configure the shipment rules for this table based on weight:

0 – 1 kg : 1 €
1 – 2 kg : 2 €
2 – 3 kg : 3 €
over 3 kg : 4 €

To do this, we need to create 4 different rules, one for each weight range.

Shipment Configuration

pro shipment france

pro shipment france

On the Frontend 

france pro shipment 100gr

Step 2: For International (all countries except for France), the shipment cost is a fixed price of 10 euros

Shipment Configuration

Let's add a new rule in that case, by clicking on Add Rule.
For the country condition, select Exclude, and the country France.
Add the fixed amount of 10.

international pro shipment be

On the Frontend 

international pro shipment fe

Step 3: For France, I want to offer the shipment if the Sales Price is over X €

It is not necessary to add for all rules created for France, the condition if Sales Prices < X euros, because when several rules conditions are met, then the cheapest one is selected.
It is only necessary to add the rule, if the country delivery is France, and the condition is over X €, then the shipment amount is 0.
Let's add this new rule.

Shipment Configuration

pro shipment be

On the Frontend

pro shipment fe

Step 4: For France, I want to offer the shipment to customers with the coupon code XYZ

Again, just add a new rule for the country France, and add the condition coupon code equals XYZ. It is the same as the previous scenarii: you do not need to add more conditions on the previous rules, since the cheapest rule will be displayed.

Shipment Configuration

pro shipment coupon be

On the Frontend

pro shipment coupon fe

 

NEXT: HOW TO DEBUG THE RULES