Title: CartTrigger – Quantity Discounts
Author: Poletto 1976
Published: <strong>8 مارس 2026</strong>
Last modified: 8 مارس 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/carttrigger-quantity-discounts/assets/banner-772x250.png?rev
=3477351)

![](https://ps.w.org/carttrigger-quantity-discounts/assets/icon-256x256.png?rev=
3483235)

# CartTrigger – Quantity Discounts

 توسط [Poletto 1976](https://profiles.wordpress.org/polettoespana/)

[دانلود](https://downloads.wordpress.org/plugin/carttrigger-quantity-discounts.2.3.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/carttrigger-quantity-discounts/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/carttrigger-quantity-discounts/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/carttrigger-quantity-discounts/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/carttrigger-quantity-discounts/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/carttrigger-quantity-discounts/)

## توضیحات

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

## عکس‌های صفحه

 * [[
 * 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.
 * [[
 * Product page — notice displayed below the Add to Cart button.

## نصب

 1. Upload the `carttrigger-quantity-discounts` folder to the `/wp-content/plugins/`
    directory, or install the plugin directly from the WordPress plugin screen.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Go to **WooCommerce  Quantity Discounts** to configure your discount rules.

## سوالات متداول

### Does the plugin work with product variations?

Yes. When using SKU-based rules, the plugin matches against the variation’s own 
SKU (if set) or falls back to the parent product’s SKU.

### Can I apply the discount only to specific product categories?

Yes. Each rule has a category selector. Selecting a parent category automatically
includes all its subcategories.

### What happens if two rules have the same target quantity?

The plugin automatically applies the highest discount among all matching rules. 
It will never stack multiple discounts for the same target/scope group.

### Can I show a different message on the product page and in the cart?

Yes. Under **Notice position  Product page notice** you can set a separate template(
or leave it empty to reuse the cart template).

### Is it compatible with WPML and Polylang?

Yes. The notice templates are registered as translatable strings and can be translated
from the WPML String Translation or Polylang String Translations interface.

### What happens if a customer has a coupon in the cart?

It depends on the **Conflict mode** setting (WooCommerce  Quantity Discounts  Coupon
behaviour):

 * **Stack** (default) — the quantity discount is always applied alongside any active
   coupons.
 * **Exclusive** — the quantity discount is skipped entirely if any coupon is active.
 * **Best discount wins** — the plugin compares its total discount against the coupon
   discount total and applies the quantity discount only if it is greater; otherwise
   the coupon takes precedence.

### Is it compatible with WooCommerce High-Performance Order Storage (HPOS)?

Yes. The plugin declares full HPOS compatibility.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“CartTrigger – Quantity Discounts” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Poletto 1976 ](https://profiles.wordpress.org/polettoespana/)

[ترجمه “CartTrigger – Quantity Discounts” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/carttrigger-quantity-discounts)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/carttrigger-quantity-discounts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/carttrigger-quantity-discounts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/carttrigger-quantity-discounts/)
by [RSS](https://plugins.trac.wordpress.org/log/carttrigger-quantity-discounts/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 2.3.2

 * Renamed internal prefix to meet WordPress.org naming requirements.
 * Moved admin JavaScript to an enqueued external file.
 * Fixed late escaping on echoed variables.
 * Fixed folder name in installation instructions.

#### 2.3.1

 * Conflict mode now also suppresses cart and product page notices when a coupon
   is active (Exclusive and Best modes) — prevents showing a discount promise that
   would not be applied.

#### 2.3.0

 * Added conflict mode setting: Stack, Exclusive, or Best discount wins — controls
   how the plugin interacts with active coupons.

#### 2.2.0

 * Added SKU-based rule filtering (takes priority over category).
 * Added product page notices with dedicated template and CSS class.
 * Added discount scope per rule: entire cart or category subtotal only.
 * Added HPOS (Custom Order Tables) compatibility declaration.
 * Added Settings link in the plugin list row.
 * Improved notice styling: custom CSS class now applied server-side via WooCommerce
   notice data.
 * Renamed plugin to CartTrigger – Quantity Discounts.

#### 2.1.0

 * Added support for WPML and Polylang string translation.
 * Added conflict warning for rules with the same target but different discount 
   values.
 * Added per-rule custom CSS class for frontend notices.

#### 2.0.0

 * Initial public release.
 * Configurable trigger/target quantity rules.
 * Percentage and fixed discount types.
 * Category filtering with automatic subcategory inclusion.

## اطلاعات

 *  نگارش **2.3.2**
 *  Last updated **2 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.0 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/carttrigger-quantity-discounts/)
 * Tags
 * [bulk discount](https://fa.wordpress.org/plugins/tags/bulk-discount/)[discount](https://fa.wordpress.org/plugins/tags/discount/)
   [quantity discount](https://fa.wordpress.org/plugins/tags/quantity-discount/)
   [woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/carttrigger-quantity-discounts/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/carttrigger-quantity-discounts/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/carttrigger-quantity-discounts/reviews/)

## مشارکت کنندگان

 *   [ Poletto 1976 ](https://profiles.wordpress.org/polettoespana/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/carttrigger-quantity-discounts/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.me/polettoespana)