Let's try to understand how the Pro Shipment plugin works with this basic example.
Let's try to configure this example
- Shipping rates are based on weight when the delivery is to France
- For International (all countries except for France), the shipment cost is a fixed price of 10 euros
- For France, I want to offer the shipment if the Sales Price is over X €
- 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
On the Frontend
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.
On the Frontend
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
On the Frontend
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
On the Frontend