Plugin Contributor
Goran87
(@goran87)
Hey there, here are the answers below:
- “Price” vs. the “max_weight | price” table, added or ignored?
The flat price is ignored when a weight table is present. They are NOT added together.
The calculation runs as an if / else-if chain, so exactly one rule wins:
- Free shipping threshold is checked first, if the cart total qualifies, price = 0 (this overrides everything).
- Else if a weight table is filled in → the matching max_weight|price row is used as the entire shipping cost. The flat “Shipping Price” field is completely ignored.
- Else → the flat “Shipping Price” is used.
So:
- Flat price only → single price for all weights/countries (as you guessed).
- Weight table filled in → flat price is bypassed entirely. The table value replaces it, it is not added on top.
How the weight table matches: rows are sorted ascending by weight, and the first row where cart_weight ≤ max_weight wins. Format is max_weight|price, e.g. 1|100 = “up to 1 kg costs 100”. If the cart is heavier than every row, the highest/last row’s price is used. (Both , and . are accepted as decimal separators.)
- How to set prices by weight for individual countries
There is no per-country column inside a single method. Per-country pricing is done through WooCommerce Shipping Zones using the zone-based GLS methods, not the global methods:
- Go to WooCommerce → Settings → Shipping → Shipping Zones.
- Create a separate zone per country (or group of countries).
- Add the GLS zone-based method (Home Delivery / Parcel Shop / Parcel Locker) into each zone.
- In each zone’s method, fill the Weight Based Rates field with that country’s max_weight|price lines.
- How to set up free delivery per country
Use the Free Shipping Threshold field. “Cart total above which shipping is free; set to 0 to disable.”
For per-country free delivery, again use the zone-based methods: set a different Free Shipping Threshold in each shipping zone’s GLS method. The threshold is measured against the cart subtotal after discounts (and minus diswn tax-inclusive).
If you only need one global free-shipping amount, you can set it
- Different free-delivery amount for “Home Delivery” vs “Paketomat”
Yes, each method has its own Free Shipping Threshold field, just set it there.
Best,
Goran
-
This reply was modified 1 week, 1 day ago by
Goran87.
Thanks,
Is there a way to limit max weight of the order for a specific country?