Free shipping and discount codes on Black Friday: stop PrestaShop from giving away shipping when the cart falls short of the minimum
Do you offer free shipping above a set amount and plan to run discount codes during your campaign? PrestaShop may calculate shipping on the product amount, not on what the customer pays. We explain what PrestaShop does out of the box, how to calculate shipping correctly when there are discounts, and what to check before Black Friday.
2 min read
You offer free shipping above a set amount, and you're about to launch discount codes for Black Friday. Be careful: PrestaShop can give free shipping to carts that fall below the minimum once the discount is taken off. The fix is to calculate shipping on what the customer actually pays, not on the product amount.
Take an example. You charge €5 shipping on orders up to €60 and ship for free from €60. A customer adds €70 of products to the cart and applies a €20 code. They pay €50. PrestaShop still calculates shipping on the €70 and makes it free. You pay that €5, and it comes out of your margin.
€70
Products in the cart
-€20
Code discount (cart rule)
€50
What the customer pays, below the €60 free shipping threshold
Free
Shipping charged by PrestaShop, instead of €5

Why you should check this before Black Friday
This year, Black Friday is Friday, November 27, 2026, and Cyber Monday is Monday, November 30. On those days you'll likely have several codes running at once. And this issue shows no warning: the order comes in, you charge less shipping than your rates say, and you only notice when you check your margins.
Nov 27, 2026
Black Friday
Nov 30, 2026
Cyber Monday
What PrestaShop does out of the box with shipping and discounts
PrestaShop gives you three tools for free shipping out of the box:
- Free shipping above an amount. In the shipping preferences, you enter the price and/or weight from which shipping is free. The customer sees a message telling them how much more they need to spend. If you leave the values at 0, there's no free shipping and no message.
- Ranges per carrier. For each carrier, you choose whether billing depends on the total price or the total weight of the order. In the ranges, the lower limit is included (>=) and the upper limit is not (<).
- Cart rules. A cart rule can give free shipping and ask for a minimum amount. You decide whether that amount includes taxes and shipping costs.
The catch is the amount PrestaShop uses for shipping: the product amount, with no cart rule discounts subtracted. Some versions do subtract them, but you can't choose whether they count in the calculation.
PrestaShop's own code says so. A comment in classes/Cart.php explains that the free shipping threshold is compared with the order total without discounts, while other calculations use the total with discounts.

How to calculate shipping on what the customer pays
Our Shipping costs without shopping cart rules/discounts module calculates shipping on the cart amount once discounts are subtracted. You decide whether cart rules are subtracted for shipping or not. It's compatible with your PrestaShop.
PrestaShop out of the box
- Calculates shipping on the product amount.
- Some versions subtract discounts, but you can't choose.
- If discounts take the cart to €0, it still charges shipping.
With our module
- You choose whether cart rules are subtracted.
- You choose whether the amount includes taxes.
- Optional free shipping when the total with taxes is 0.
- Only on the carriers you select.
- You can leave specific cart rules out of the calculation.
- In multistore, each shop has its own configuration.
- Open the configuration. Go to Modules > Module Manager > Calculate shipping cost with/without cart rules > Configure.
- With or without taxes. Choose whether the cart amount is taken without taxes or with taxes.
- Choose how shipping is calculated. In “Shipping cost calculation”, select “CONSIDER cart rules to calculate shipping cost” to subtract discounts. Otherwise, select “NOT CONSIDER cart rules to calculate shipping cost”.
- Decide what happens with €0 orders. If you need it, enable “Apply free shipping if "Total (tax incl.)" is 0”.
- Select the carriers. Check the ones it applies to. If you don't check any, it applies to all of them.
- Exclude the rules that shouldn't be subtracted. In “Do NOT subtract the selected cart rules from the amount”, pick the cart rules that shouldn't be deducted from the amount.
- Save. Keep DEBUG disabled unless you're troubleshooting, and click “Save”.
With €5 shipping up to €60 and free shipping from €60, this is what changes:
| Cart | PrestaShop out of the box | With our module |
|---|---|---|
| €70 of products, -€20 discount, €50 total | Free shipping | €5 shipping |
| €70 of products, -€70 discount, €0 total | €5 shipping | Free shipping (if you enable the option) |

A shipping flat rate for the campaign
Want to handle shipping differently? Our Shipping Premium flat rate and discounts module sells your customers a shipping subscription. The customer buys it at checkout together with an order. While it's valid, they get free or discounted shipping on their orders.
It's a one-off payment for the duration you set, with no recurring charges. Your server needs the PHP cURL extension enabled.
Unlimited flat rates
Each with its own name, duration in months, price and maximum number of orders.
Offer at checkout
Before or after the carrier list, as a button or a dropdown.
Per carrier
Free shipping, or a percentage or fixed-amount reduction on the ranges of each zone.
Per customer group
You choose who sees it, and you can add the customer to a group when they buy it.
Free above an amount
The flat rate itself can be free above an order amount.
Automatic expiry
By date or once the maximum number of orders is reached. When it expires, the customer is removed from the group.
What to check before you launch your codes
- The free shipping threshold in the shipping preferences, and each carrier's price ranges.
- Which cart rules give free shipping, and with what minimum amount.
- Which amount your shop uses for shipping: the product amount or what the customer pays.
- A test cart that only passes the minimum before the discount, to see what shipping it charges.
Frequently asked questions
Why does PrestaShop give free shipping if the customer doesn't reach the minimum?
Because it calculates shipping on the product amount and doesn't subtract discounts.
Can I apply the calculation to some carriers only?
Yes. You select the carriers in the module configuration. If you don't select any, it applies to all of them.
What if I don't want a specific discount to be subtracted for shipping?
You can exclude specific cart rules so they aren't subtracted from the amount.
Does it work in a multistore setup?
Yes. Each shop can have its own configuration.
Is it compatible with other shipping modules?
The module warns you about a possible incompatibility with the pdextrashippingcostbypostcodespro module.
Charge the shipping your rates set, even with discounts
With our Shipping costs without shopping cart rules/discounts module, shipping is calculated on what the customer pays. You choose whether it includes taxes, which carriers it applies to and which cart rules aren't subtracted.
Calculate shipping on what the customer pays
A single payment for the module license for your shop, with no additional costs. In multistore, each shop has its own configuration.
Comments
No comments yet. Be the first.