Product-Specific Discounts in a Single Price Rule for Magento 2

In standard Magento, to grant different discounts for individual products, you need to create multiple cart price rules.
Compatibility
2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0
€61.50
per item
Email to a Friend

Enquire about this product

Description / Product-Specific Discounts in a Single Price Rule for Magento 2

MAGENTO 2 · PROMOTIONS · SKU · SPREADSHEET IMPORT

One campaign, different discounts for selected SKUs.

Kowal Discount Rule Per Product

Connect a Magento coupon rule with a table of custom discounts. Manage percentage and fixed-amount values, store views, and spreadsheet data import.

Percentage or amount · One coupon rule · Bulk data pasting

HOW IT WORKS IN PRACTICE

01 · Select a coupon rule
You choose the Magento rule for your campaign.

02 · Add discounts per SKU
You enter values manually or import a list.

03 · The customer uses the coupon
The module applies the assigned discounts during the cart process.

What does your store gain?

Explore the module features, use cases, and settings.

What does this module do?

The module lets you assign different discounts to specific products while using one shared promotional rule in Magento.

It works like this:

  1. You create one cart price rule with a coupon, for example RABAT10.

  2. In the module, you add a list of products and their custom discounts:

    • Product A → 10%

    • Product B → 5 zł

    • Product C → 20%

     

  3. The customer enters the coupon in the cart.

  4. The module automatically:

    • checks the products in the cart,

    • finds their custom discounts,

    • applies the appropriate discounts per SKU.

Why is this so important?

Marketing and e-commerce teams very often work in Excel:

  • newsletter campaigns with a discount on specific products,

  • seasonal campaigns for part of the catalog,

  • B2B promotions with custom discounts per SKU,

  • sales of mixed product sets from manufacturers.

The problem in Magento is that the standard rule mechanism does not make it easy to create different discounts for different products under one coupon.

Our solution:

  • works exactly the way marketers think
  • simplifies promotion management
  • reduces the need to create separate rules per SKU; the shared rule settings still matter
  • gives you full flexibility and full control over discounts

How are discounts managed?

The module has its own admin panel:

Discount list

  • table view with inline editing,

  • filtering by SKU, status, discount type, store view,

  • mass delete, inline editing, and discount list import.

Add / edit discount form

Fields:

  • product SKU

  • discount value, amount or percentage

  • discount type

  • store view

  • status

Bulk import from Excel

The most marketing-friendly feature:

you paste data directly from Excel or paste CSV/TSV data into the form, and you are done.

The module automatically:

  • adds new discounts,

  • updates existing ones,

  • skips invalid lines,

  • generates a report.

Import multiple discounts: you can prepare up to 1000 items in a spreadsheet and paste them in bulk. Import time depends on the number of entries and store performance; the stated 5 seconds is not a guaranteed result.

Main module benefits

  1. One rule — hundreds of custom discounts
    You do not need hundreds of Magento rules.
  2. Simpler product list configuration
    Marketers love simple solutions → the SKU list reduces manual product condition building.
  3. Full discount flexibility
    • percentage discount
    • fixed-amount discount
    • per SKU
    • per store view
    • active / inactive
  4. Bulk actions
    • import from Excel
    • mass delete
    • inline editing
  5. Predictable results
    One table organizes discount assignments. Conflicts, promotion stacking, and final amounts should be checked in the cart configuration.

Who is this module for?

  • stores that often run promotions on specific SKUs

  • e-commerce businesses with a broad catalog

  • B2B stores with custom discounts for customers

  • marketers working with spreadsheets

  • companies that want to simplify promotion management

Use case example

I want one coupon to provide:
  • 10% off athletic shoes

  • 20 zł off backpacks
  • 30% off accessories
    but only for selected SKUs.

In Magento = requires several complex rules

In the module = 1 rule + a list of discounts per SKU

Summary

The Kowal_DiscountRulePerProduct module is the ideal tool if you want to:

  • simplify promotions,

  • increase discount flexibility,

  • streamline marketing work,

  • reduce configuration time from hours to minutes,

  • eliminate errors in standard Magento rules.

Standard Magento cart rules

The built-in promotion mechanism in Magento 2 is based on cart rules that:

  • require building complex conditions (Conditions)

  • quickly become difficult to read

  • are hard to modify over time

  • make different discounts for different products in one campaign practically impossible

In practice, this means:

  • many nearly identical rules

  • chaos in the admin panel

  • a high risk of promotion errors

Result: marketing teams are afraid to touch promotions, and developers get pulled into every change.

One cart rule + one discount table for SKUs

Kowal – Discount Rule Per Product introduces a completely different way of working:

Instead of:

  • creating separate rules

  • complicating conditions

you simply:

  • assign a discount to a specific product, SKU

  • define its type, percentage or fixed amount, and value

  • use one shared rule and coupon or coupon pool

Each product can have a different discount — within the same promotion.

Percentage discounts

Ideal for:

  • seasonal promotions

  • sales

  • discount campaigns based on margin

Example:

  • Product A → –10%

  • Product B → –25%

  • Product C → –5%

All within one cart rule.

Fixed-amount discounts

Ideal for:

  • fixed-price products

  • –50 zł on selected products campaigns

  • performance campaigns

Example:

  • Product A → –20 zł

  • Product B → –100 zł

  • Product C → –200 zł

Magento automatically applies the correct discount only to the assigned SKU.

Import — format and entry updates

The proven form accepts data pasted from a spreadsheet: SKU, value, type, store_id, and status. The separator is TAB or comma, and the discount type is percent or fixed. Example: SKU-001,10,percent,0,1.

An existing SKU + store_id entry is updated when overwrite is enabled; otherwise, it is skipped. The summary shows the number of new, updated, and skipped rows. A separate CSV/TSV file upload has not been confirmed for this form.

Coupon activation and calculation

In Stores → Configuration → Kowal → Discount Rule per Product, you enable the module and select a Cart Price Rule. The logic covers the selected coupon rule, the coupon entered in the cart, and an active entry for the SKU in the current or global view.

The fixed amount is calculated per unit and multiplied by quantity; the percentage is based on the product value and quantity. The code takes into account the setting for calculating the discount from the net or gross price, as well as the limit to the item value. Interaction with other rules and currencies requires checking the cart.

Promotion communication on the storefront

The configuration also includes the coupon form, its label and button, visibility of the code and discount value, plus message text and colors. The package includes display on the product page and labels on the category list.

The SKU list makes product selection easier, but it does not remove the importance of rule activity, website scope, customer groups, priorities, and promotion restrictions. It also does not guarantee import time or the absence of conflicts with other discounts.

Installation via Composer

Package kowal/module-discountruleperproduct, module Kowal_DiscountRulePerProduct. After configuring access to the Kowal repository, install the package, enable the module, update Magento, and clear the cache. In production, include compilation and static content deployment according to your store process.

See the module interface

Discount Rule Per Product — interface view 1Discount Rule Per Product — interface view 1
Discount Rule Per Product — interface view 2Discount Rule Per Product — interface view 2

From configuration to result

1. Select a coupon rule
You choose the Magento rule for your campaign.

2. Add discounts per SKU
You enter values manually or import a list.

3. The customer uses the coupon
The module applies the assigned discounts during the cart process.

Different discounts under one coupon

In one campaign, you configure 10% off selected shoes, 20 zł off backpacks, and 30% off accessories. You assign each discount to a specific SKU.

Before launch, you check the calculation in the cart, quantities, taxes, and interaction with other promotions.

Make product discount management easier for marketing

Want to adapt the module to your store? Ask about implementing Kowal Discount Rule Per Product and discuss the configuration or required extensions.

More Information

Theme compatibility Luma / Blank, KOWAL

Questions and Answers

Can one Magento cart price rule apply different discounts to individual products?

Yes — this is the module’s main function. Discount Rule Per Product allows you to assign individual discounts to specific SKUs and then link them to a single cart rule. This means you do not need to create a dozen or several dozen price rules, which greatly simplifies promotion management and reduces the risk of errors. It is an ideal solution for marketing when different products require different discount levels, but the campaign is intended to operate based on one coupon or one pool of codes.

Does the module support both a single discount code and a pool of coupons?

Yes — the module works with:•a single discount code,•a pool of coupon codes,•coupons automatically generated by Magento,•dynamic coupons used in email or remarketing campaigns.If the coupon is associated with a rule defined in the module, the system will automatically apply individual discounts per product.This is especially useful for campaigns based on influencers, newsletters, or occasional promotions.

Does the module work properly with Magento 2.4.x, Multi-Store, and Multi-Website?

Of course. Discount Rule Per Product:•supports multiple stores and multiple views,•allows you to define discounts per store_id,•works with Magento 2.4.7 and PHP 8.2,•integrates automatically with the cart, shipping cost, and order summary.This is a great solution for large stores and B2B platforms.

How is this module different from standard Magento cart rules?

Standard Magento rules:•do not allow you to set different discounts for different products in a single rule,•have complicated Conditions that most marketers find difficult to configure,•require duplicating rules every time a promotion changes.The Discount Rule Per Product module:•eliminates the need to create multiple rules,•allows you to set discounts per SKU in a single table,•works based on a simple form and inline editing,•is much easier for marketing and e-commerce teams.

Can I bulk import discounts from Excel or CSV?

Yes — the module has a Mass Import feature that allows you to:•paste data from Excel (TSV/CSV),•automatically process multiple rows,•quickly update discounts during price rotations or campaigns,•download a sample file.This solution is designed for e-commerce managers who work with spreadsheets.

Can I edit discounts without opening each record?

Yes — in the discount list:•all fields (discount, discount type, status, store ID) are editable inline,•the list has filters, export, and bulk actions,•this saves a lot of time in day-to-day operations.

What types of discounts does the module support?

The module supports the two most popular types of discounts:•Percent (%) — e.g., -10%•Fixed (amount) — e.g., -20 PLNThis allows you to flexibly build promotional campaigns for different product segments.

Does the module affect the final order summary and reports?

Yes — discounts are fully compatible with:•cart summary,•order summary,•Magento backend,•invoicing,•ERP integrations,•Magento REST and GraphQL APIs.Discounts are saved as the standard discount_amount, so everything works as it does in native Magento.

Is the module secure and ready to use in large stores?

Yes — the module uses native mechanisms:•a plugin on the SalesRule Validator,•repositories and collections,•its own EAV-less table (a simple, efficient structure),•Magento DB transactions,•error handling and logs.It is efficient and stable even in Enterprise environments.

Module Installation Instructions

Installation via Composer

You will receive Composer repository access details, customer email address and license token, by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with the email address of your account and TWOJ_TOKEN with the token you received. Run the commands in the Magento root directory.

composer config repositories.kowal composer https://repo.kowal.storecomposer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'composer require kowal/module-discountruleperproduct

Completing the installation

After installing the package, update Magento and clear the cache:

php bin/magento setup:upgradephp bin/magento cache:flush

In a production environment, also run DI compilation and static file deployment according to your store deployment process.

Press to skip carousel

We found other products you might like!

Customer Reviews

Price
Quality
Support
Dla B2B to duża oszczędność czasu
Review by boss
różne rabaty per produkt w ramach jednej kampanii i bez ręcznego klikania reguł. Trzeba tylko pilnować porządku w tabeli rabatów (zwłaszcza przy multi-store), ale ogólnie narzędzie jest bardzo praktyczne i daje pełną kontrolę nad zniżkami
Price
Quality
Support
Plus za panel administracyjny, filtrowanie po SKU i masowe akcje.
Review by Monia
Moduł rozwiązuje typowy bałagan z warunkami (Conditions) i priorytetami reguł — wszystko jest czytelne i przewidywalne. W praktyce mniej punktów awarii niż przy wielu podobnych regułach koszykowych
Price
Quality
Support
W końcu da się robić kampanie ‘z Excela’ bez stawiania 50 reguł w Magento
Review by mirek
Jeden kupon, a każdy SKU ma własny rabat — dokładnie tak, jak planujemy promocje. Najbardziej doceniam szybki import i to, że marketing nie musi prosić devów o każdą zmianę.

3 Item(s)

Write Your Own Review
You're reviewing: Product-Specific Discounts in a Single Price Rule for Magento 2
Your Rating:
Price
Quality
Support
loader
Loading...

You submitted your review for moderation.

Implemented in real Magento 2 stores
RUNMAGEDDON – Product Discount Optimization

For RUNMAGEDDON, we implemented the Product Discounts module to enable precise promotion management at the individual product level, without the need to create multiple complex pricing rules.

The solution allows individual discounts to be assigned directly to specific products, with full control over their value and scope. This enables RUNMAGEDDON to respond flexibly to sales needs—promoting selected products, series, or special offers—without interfering with the store’s global pricing mechanisms.

The module was designed to operate based on native Magento logic, maintaining compatibility with other promotions and clear pricing for the end customer. The result is clear discount communication on the product page, simplified promotion management in the admin panel, and greater flexibility in running dynamic sales campaigns.

Update cookie preferences