跳到内容

CartTrigger – Quantity Discounts

v2.3.4

Poletto 1976 · 2026年3月8日 上架

Show cart notices and apply automatic discounts when customers reach a quantity threshold — configurable per category, or SKU.

正在使用
10 以下
评分
暂无
累计下载
897
最近更新
2026年9月7日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Admin settings page — discount rules table with trigger, target, discount type, scope, category/SKU filters, notice text, position and conflict mode.
Admin settings page — discount rules table with trigger, target, discount type, scope, category/SKU filters, notice text, position and conflict mode.
Cart page — notice shown to the customer when the trigger quantity is reached, and discount applied at checkout.
Cart page — notice shown to the customer when the trigger quantity is reached, and discount applied at checkout.
Product page — notice displayed below the Add to Cart button.
Product page — notice displayed below the Add to Cart button.

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*)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums