CartTrigger – Quantity Discounts
·
Show cart notices and apply automatic discounts when customers reach a quantity threshold — configurable per category, or SKU.
CartTrigger – Quantity Discounts is a lightweight WooCommerce plugin that encourages customers to buy more by showing a notice when they reach a trigger quantity, and automatically applying a discount when they hit the target quantity.
Each discount rule is fully configurable:
- Trigger qty — the cart quantity at which the promotional notice is shown
- Target qty — the quantity that unlocks the automatic discount
- Discount type — percentage (%) or fixed amount
- Discount scope — apply to the entire cart subtotal or only to the matched items’ subtotal
- Category filter — limit the rule to one or more product categories (subcategories included automatically)
- SKU filter — target one or more specific products by SKU (takes priority over category)
- Notice position — show on cart/checkout only, product page only, or both
- Custom CSS class — style each notice independently with your own CSS
- Conflict mode — control how the plugin behaves when other discounts (coupons) are already active in the cart
Key features:
- Multiple rules with independent triggers and targets
- Best-discount logic: when multiple rules share the same target and scope, only the highest discount is applied
- Product page notices via a dedicated template with its own text and CSS class
- Coupon conflict modes: stack, exclusive, or best-discount-wins
- Full support for WPML and Polylang (notice text registered as translatable string)
- Compatible with WooCommerce HPOS (Custom Order Tables)
- No bloat — zero external dependencies, no JavaScript on the frontend
Available notice variables:
{current} — current quantity in cart
{missing} — quantity still needed to reach the target
{target} — target quantity
{discount} — formatted discount value (e.g. *10%* or *€5.00*)
