Decide how catalog discounts, promotions and coupons combine, and keep a floor under your margin.
Tested on 2 buildsUpdated Nov 19, 2026Version 1.0.2CS-Cart, Multi-Vendor 4.17.2 – 4.22.x No core file edits
Built for
Discount Rules: Stacking Control and Margin Floor: overview1 of 10
What it does
CS-Cart adds a catalog discount and a coupon on the same item: a sunscreen on sale at 10% plus a 20% brand coupon sells at 30% off. Discount Rules lets you choose. Stack them as before, let the larger discount win on each line, or keep a promotion away from items that are already on sale. Set it for the whole store or for one promotion. For CS-Cart and Multi-Vendor stores that run sales and coupons at the same time, such as before Black Friday.
How it works
Open the add-on settings and choose a policy for coupon promotions and for other cart promotions, then set optional caps and the margin floor. A promotion can override the policy and the cap on its own page. In the cart and checkout each line shows a short note such as the coupon replaces the sale discount. Orders keep the notes, and on Multi-Vendor every suborder gets exactly its share. The add-on prints nothing on catalog pages, so the full page cache keeps working.
Features
Policy per promotion or for the store: stack, best discount wins or never combine with catalog discounts
Separate default for coupon promotions and for other cart promotions
Maximum discount per line, per order and per promotion, as a percent or an amount
Margin floor: never sell below cost plus a margin you set
Cost from Product Cost and Profit Reports when installed, otherwise an own cost field on the product page
Clear notes in the cart, at checkout and on the order
Works with coupons, cart promotions, Advanced Promotions bonuses and both tax calculation methods
Multi-Vendor suborders add up to the order exactly, Ultimate storefronts have their own settings
Exact to the cent, never a negative price, the same result on every recalculation
What you get
Package
kv_discount_rules-1.0.0.zip, installed through Add-ons → Manage add-ons
Updates & support
12 months included. Download new versions from your account and install them in Add-ons → Manage add-ons or the Upgrade Center.
License
1 production installation. Staging, dev and localhost are free and unlimited. The add-on keeps working after the update period ends. How licensing works
Compatibility
We list only the builds we install and test on. “Tested” means the full test plan was run on that build; “Supported” means the build is inside the supported range and uses the same hooks.
CS-Cart version and edition compatibility
CS-Cart version
CS-Cart
CS-Cart Ultimate
Multi-Vendor
Multi-Vendor Ultimate
4.22.x
Supported
Supported
Supported
Supported
4.21.2
Supported
Supported
Supported
Supported
4.20.x
Supported
Supported
Supported
Supported
4.19.x
Supported
Supported
Supported
Supported
4.18.x
Supported
Supported
Supported
Supported
4.17.2
Supported
Supported
Tested
Supported
Before 4.17.2
Not supported
Not supported
Not supported
Not supported
Last tested build: Multi-Vendor 4.17.2, Nov 11, 2026Tested on: Multi-Vendor 4.17.2
Requirements
Platform
CS-Cart and Multi-Vendor 4.17.2 or later
Requirement
Administrator access to the store's admin panel
Core changes
None. Hooks and template overrides only
1.0.0
Nov 11, 2026
Latest
Added 6
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.
Tested on Multi-Vendor 4.17.2. First release.
Does it work with Multi-Vendor?
Yes. A cart with products of several vendors is split into suborders as usual; every suborder gets exactly its share of the discounts, so the suborders add up to the order. Vendors who may edit promotions can set the policy and caps on their own promotions, and vendors who may edit products can enter the cost of their products.
Which CS-Cart versions are supported?
4.17.2 to 4.22.x, on CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate.
What exactly does "Best discount wins" compare?
Line by line. For every cart line it adds up the discounts of the promotions set to "Best discount wins" and compares the sum with the catalog discount of that line. The larger one applies; on a tie the catalog price stays. A promotion set to "Stack" is added on top as usual.
Does the customer still see the coupon as applied if it gives nothing?
Yes. The coupon stays in the cart so the customer can remove it, and the cart line says why it did not add a discount.
Which discounts are covered?
Everything that lowers a cart line or the order through the core promotion engine: catalog promotions, cart promotions, coupons, and the bonuses of Advanced Promotions. Quantity discounts and wholesale price lists change the price before promotions and are not touched. Gift certificates and store credit are payments, not discounts.
Core coupon bonuses (discount on products or categories, discount on the order) are calculated from the original price. The bonuses of Advanced Promotions are calculated from the price after earlier discounts; with Best discount wins, the amount such a bonus gave on that line is compared with the catalog discount, and replaces it when larger.
Why is there an order discount of $0.01?
A discount that does not split evenly over the units of a line (a maximum of $1.00 on three items) leaves a remainder of a cent or two. It is added to the order discount so the order total is exact to the cent.
Are taxes calculated on the discounted price?
Yes, in both tax calculation methods. The add-on changes the line prices and the order discount before the core calculates taxes.
Can a catalog discount ever be reduced?
No. A catalog discount is the price you chose to show on the product page. Maximum discounts and the margin floor reduce only cart promotions and coupons. The one exception is "Best discount wins", where a larger promotion replaces the catalog discount on that line.
Will it slow down my store?
No. The add-on works inside the core promotion calculation with two small table lookups, makes no remote calls and prints nothing on catalog pages, so the full page cache is unaffected.
How do I get updates?
Updates are free during your updates and support period (12 months, extendable). Download the new version from your account on cs-cart.kaviolabs.com or install it from the Upgrade center, and upload it over the installed one. Settings and rules are kept.
What happens without a valid license?
Without a valid license (no key after the 14-day start period, an invalid or revoked key, a domain the license does not cover, or no successful check for 14 days), carts are calculated as in stock CS-Cart: all discounts stack, no caps, no margin floor. Placed orders keep their notes. Once the license is valid again, your rules apply again.
The admin panel shows a license notice.
Open Add-ons → Manage add-ons → Discount Rules: the License card at the top says what is wrong. Fix it on the License tab and click Check now. See License.
Does the add-on work on my staging copy?
Yes. Subdomains of your licensed domain and local development hosts (localhost, private IP addresses, .local, .test) are covered by the same license.
What happens if your license server is down?
Nothing changes for 14 days: the add-on keeps working and retries every hour. Only if no check succeeds for 14 days is it switched off until the next successful check.
Does the license check slow down my storefront?
No. The check runs only in the admin panel or from cron, at most once a day, never while customers browse or check out.
How do I get support?
Contact us through https://cs-cart.kaviolabs.com.
My license shows "Pending verification"
This status appears in older add-on versions when you use a CS-Cart Marketplace license number that our license server has not matched with the Marketplace yet. The add-on is fully working in this state: no feature is switched off and you do not need to do anything. Newer versions show it as Active (Marketplace license). We confirm Marketplace numbers on our side; click Check now on the add-on's License tab (Add-ons → Manage add-ons → the add-on) a little later and it shows Active. If it has not changed after 24 hours, contact support with your Marketplace order number.