---
title: 'Discount Rule per Product'
url: 'https://info.srv.kowal.co/docs/magento/modules/discount-rule-per-product'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/discount-rule-per-product.md'
lang: en
date: '2026-11-30'
description: 'Use one coupon code for products with different discounts. Assign a fixed amount or percentage to each SKU and test the cart price rule with eligible products.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - sales
    - discounts
---

# Discount Rule per Product

**Composer** `kowal/module-discountruleperproduct` · **Version** 1.0.59

## Product page

[Discount Rule per Product — kowal.co](https://kowal.co/magento-2-module-custom-product-discounts-one-rule-multiple-discounts)

## Description

Applies one cart coupon while allowing different discount values for individual SKUs.

## For whom

For merchants running a single-code campaign across products with different margins.

## Features

- Percentage and fixed discounts by SKU.
- Admin management and bulk import of discount entries.
- Configurable form labels and display of the coupon and discount value.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-discountruleperproduct
bin/magento module:enable Kowal_DiscountRulePerProduct
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Create an active cart price rule with a coupon.
2. Under **Discount Rule per Product → General Settings**, enable the module and select that rule under **Cart Price Rule**.
3. Under **Product Discounts per SKU → Manage Product Discounts**, add active entries with the SKU, store scope, discount type and value.

## Requirements / notes

The package requires `kowal/base`. Test with the coupon belonging to the configured rule and products that satisfy its conditions.

## FAQ

**Why does adding the product leave the price unchanged?**

Apply the configured rule’s coupon. Check that the entry for the SKU has a positive discount value and the appropriate store scope.

## Verify the installation

```sh
bin/magento module:status Kowal_DiscountRulePerProduct
```

Place one unit each of two products in a test cart. Configure a percentage discount for the first and a fixed discount for the second. Apply the coupon and compare each line’s discount with its own setting.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [B2B Quick Order](https://info.srv.kowal.co/docs/magento/modules/quick-order.md)
- Next: [Sentry Integration](https://info.srv.kowal.co/docs/magento/modules/sentry.md)
