Discount Rules: Stacking Control and Margin Floor changelog
All notable changes to Discount Rules (kv_discount_rules) are documented here.
The format follows Keep a Changelog and the project uses Semantic Versioning.
[Unreleased]
Section titled “[Unreleased]”[1.0.2] - 2026-11-19
Section titled “[1.0.2] - 2026-11-19”Changed
Section titled “Changed”- Compatibility: CS-Cart and Multi-Vendor 4.22.x
[1.0.1] - 2026-11-13
Section titled “[1.0.1] - 2026-11-13”- Important if you also use Data Retention & Guest Anonymizer (kv_data_retention): its version 1.0.0 used a database table with the same name as the Discount Rules promotion rules table (
kv_dr_rules). With both add-ons installed, the two add-ons could read each other’s rows, a promotion could get several rule rows, and uninstalling one add-on deleted the other’s rules. Data Retention 1.0.1 moves its rules to its own tables. - After both updates, Discount Rules repairs its table automatically (the newest rule of every promotion is kept). While Data Retention 1.0.0 is still installed, the table is left alone and the admin panel asks you to update Data Retention. A new installation of Discount Rules is refused, with that explanation, while Data Retention 1.0.0 still uses the table.
- Uninstalling Discount Rules no longer deletes another add-on’s rows from that table.
[1.0.0] - 2026-11-11
Section titled “[1.0.0] - 2026-11-11”- Combination policy for promotions: stack (CS-Cart default), best discount wins (per cart line, the larger of the catalog discount and the promotion), never combine with catalog discounts. A default for coupon promotions, a default for other cart promotions, and an override on every promotion.
- Discount caps per line, per order and per promotion, as a percent or an amount.
- Margin floor: a line never sells below cost plus a margin; the cost comes from Product Cost & Profit Reports when it is active, otherwise from a cost field on the product page.
- Notes under the cart line and at checkout that say which discount applied and why; the order keeps them (line data and a summary row), shown on the customer and admin order pages.
- Works with core promotions, coupons and the bonuses of Advanced Promotions, both tax calculation methods, every currency, Multi-Vendor suborders (each gets exactly its share), Ultimate storefronts (settings per storefront) and the full page cache (no output on catalog pages).
- Domain-bound license check and in-place upgrade synchronizer.