PrestaShop vouchers and cart rules not working: why they do not apply and how to set them up properly

PrestaShop vouchers and cart rules not working

You launch a promotion, send the code to customers and the messages start arriving: “the voucher is not valid”, “it does not take anything off”, “it applies two discounts”. Or the other way round: someone stacks three vouchers and gets the product almost free. PrestaShop’s cart rules are very complete, and that is exactly why they fail: every condition you add is one more reason for the discount not to apply, and the screen does not tell you which one is failing.

Below you will find how cart rules work, why a voucher does not apply, how to avoid discounts stacking by accident and the difference from catalogue price rules, which is another source of confusion.

Cart rules or catalogue rules

PrestaShop has two types of discount, in Catalog > Discounts:

Cart rules Catalogue price rules
Where you see it In the cart and the order In the price on the product page and in listings
With a code Yes, or automatic without a code No
What for Vouchers, free shipping, gifts, amount discounts Sales by category, brand or group
What usually gets confused The customer does not see the discount until the cart It stacks with vouchers if not excluded

Many problems come from using one when the other was needed, or from having both active on the same products.

Cart rules or catalogue rules in PrestaShop
Which one to use.

How a cart rule is built

The PrestaShop documentation splits it into three tabs:

  • Information: name, code, priority, partial use and whether it is highlighted to the customer. If there is no code, the rule applies automatically to anyone who meets the conditions.
  • Conditions: specific customer, validity dates, minimum amount, total quantity available, uses per customer, carriers, customer groups, product selection and compatibility with other rules.
  • Actions: free shipping, percentage or amount discount, exclude already discounted products and gift.

Why a voucher does not apply

If the customer says the code does not work, check in this order:

  1. The dates. The default validity is one month from creation. A voucher created weeks ago for a campaign two months away may have expired before it starts.
  2. The uses. If the total quantity or the uses per customer have run out, it does not apply. The documentation warns that uses per customer must be at least equal to the quantity available.
  3. The minimum amount. And whether it counts with or without tax and with or without shipping. A 50-euro minimum including tax is not the same as excluding it.
  4. The customer group. If the rule is for a group, a customer who is not logged in belongs to the visitor or guest group, not the customer group.
  5. The product selection. According to the documentation, product conditions are cumulative: either all are met or there is no discount. A rule for “trainers category” and “brand X” only works with trainers of that brand.
  6. “Exclude discounted products”. If the cart only has products on sale, the voucher takes nothing off.
  7. The carrier. If the rule is limited to one carrier, it does not apply with another.
  8. Compatibility. If another rule in the cart is not compatible with this one, only one applies.
  9. The shop, if you use multistore.
The nine checks when a PrestaShop voucher does not apply
In this order.

Want to know whether this affects your shop?

Leave us your URL. We review it and tell you what we find and what it is costing you, with no commitment.

We reply within 24 working hours.

Discounts that stack by accident

The opposite problem is just as costly. It happens when:

  • A catalogue rule reduces the product and the voucher also applies to the reduced price. The option to exclude discounted products is there to avoid this.
  • Several automatic rules, without codes, coincide in the same cart: free shipping over an amount, a group discount and the promotion of the month.
  • The rules are not marked as incompatible with each other, and the customer can add several codes.
  • Partial use is enabled on a fixed-amount voucher: if the order is smaller than the voucher, PrestaShop creates a new voucher for the remainder.

The practical rule: every new promotion is tested with a real cart combining discounted and non-discounted products, logged in and logged out, and with another voucher active.

Keeping rules tidy

Over time, a shop builds up hundreds of rules: welcome vouchers, old campaigns, cart recovery, customer service. It is worth:

  1. Naming them consistently: campaign, date and channel.
  2. Disabling or deleting expired ones, especially those generated in bulk. With many active rules, the cart has more work on every change.
  3. Having one person responsible for creating promotions, so they do not overlap.
  4. Keeping a record in one place of which promotions are active and until when.

How to test a promotion before launching it

Before sending a code to customers or enabling an automatic rule, a ten-minute test avoids most problems:

  1. Create a test account in the customer group the promotion is aimed at.
  2. Fill a cart that meets the conditions and check that the discount applies and for the right amount.
  3. Fill another that does not, for example below the minimum or with excluded products, and check that it does not apply and that the message is clear.
  4. Add an already discounted product and see what happens.
  5. Test with another voucher active at the same time.
  6. Test without logging in, as a visitor.
  7. Change carrier and country, if the rule depends on them.
  8. Delete the test cart and account when you finish.

An example of a well-built promotion

A shop wants to offer free shipping on orders over 60 euros for a weekend, mainland only and not stackable with other vouchers. In PrestaShop it would look like this:

Tab Configuration
Information Name “Weekend free shipping”, no code so it applies automatically, priority 1
Conditions Valid Friday to Sunday, minimum amount 60 euros including tax and excluding shipping, mainland carrier
Conditions Incompatible with all other free shipping vouchers
Actions Free shipping, no additional discount

And once the weekend is over, the rule is disabled even though it has expired, so it does not get mixed up with the active ones.

What changes when they are configured properly

PrestaShop cart rules that fail or that work
What changes.

Vouchers work first time, no discounts stack that nobody meant to give and customer service stops getting “my code doesn’t work” messages. And when a promotion underperforms, you know it is the offer, not the configuration.

The order of work

The order of work for cart rules in PrestaShop
From the check to the launch.

What changes with PrestaShop 9.1: the new discount system

PrestaShop 9.1 includes, as an experimental feature, a rebuilt discount system. It organises discounts into four types: catalogue, cart, free shipping and gift, with a fixed order of application: catalogue discounts first, on the product, then cart discounts. PrestaShop explains that it stems from two repeated complaints, the lack of simplicity and performance problems caused by how cart rules were combined.

What you should know:

  1. It is enabled in Advanced Parameters > New & Experimental Features and is off by default.
  2. Current cart rules keep working. The new types are built on the existing system, so enabling it does not delete your promotions.
  3. It is experimental: PrestaShop recommends testing it outside the live shop and it may change in future versions.

For a shop with many overlapping promotions, it is good news in the medium term. In the meantime, everything in this article still applies to current cart rules.

What breaks if you get it wrong

  • Creating the rule on the day of the campaign without testing it.
  • Using catalogue and cart rules on the same products without excluding discounted ones.
  • Leaving all rules compatible with each other.
  • Fixed-amount vouchers with partial use without meaning to.
  • Piling up hundreds of expired rules.
  • Sending a code to a customer group the rule does not apply to.

In short

  1. Cart rules for vouchers and free shipping; catalogue rules for sales visible on the product page.
  2. A voucher that does not work is checked in order: dates, uses, minimum, group, products, discounted items, carrier, compatibility and shop.
  3. Product conditions are cumulative: they all have to be met.
  4. To avoid stacking discounts: exclude discounted products and make rules incompatible.
  5. Every promotion is tested with a real cart before it is announced.

When you cannot do this yourself

Creating simple rules, checking dates and uses and testing a voucher with a cart is something you can do. Designing promotions with several rules that do not overlap, connecting them with cart recovery or email, cleaning up hundreds of old rules and finding out why a discount applies where it should not needs someone who knows PrestaShop inside out. That is what we do in PrestaShop maintenance (in Spanish).

Want to know whether this affects your shop?

Leave us your URL. We review it and tell you what we find and what it is costing you, with no commitment.

We reply within 24 working hours.

Frequently asked questions

Why does a voucher not work in PrestaShop?

The most common causes are validity dates, used-up uses, a minimum amount not reached, a customer group different from the buyer’s, product conditions not all met, discounted products excluded, a limited carrier or incompatibility with another rule.

What is the difference between a cart rule and a catalogue rule?

A catalogue rule changes the price shown on the product page and in listings, without a code. A cart rule applies in the cart, with a code or automatically, and is used for vouchers, free shipping or gifts.

How do I stop several discounts stacking in PrestaShop?

By marking cart rules as incompatible with each other, excluding already discounted products and reviewing automatic rules without codes that may coincide in the same cart.

How do I create a free shipping voucher in PrestaShop?

With a cart rule whose action is free shipping, with the conditions you want, such as a minimum amount, a carrier or dates.