Usage
How it works
Section titled “How it works”CS-Cart prices a cart in two steps: catalog promotions lower the price of a product, then cart promotions and coupons add their discount. Both are calculated from the original price, so a 10% catalog discount and a 20% coupon on a $40.00 sunscreen give $28.00.
Discount Rules reads what CS-Cart did, applies your rules, and writes the result back before taxes and totals are calculated. Nothing in CS-Cart is replaced, and with every policy on Stack and no caps the add-on changes nothing at all.
Example: sunscreens -10% and a brand coupon (-20%)
Section titled “Example: sunscreens -10% and a brand coupon (-20%)”A $40.00 sunscreen with a catalog promotion of 10%, a customer who enters a coupon for 20%:
| Policy of the coupon | Customer pays | Why |
|---|---|---|
| Stack | $28.00 | 10% + 20% = 30% off. |
| Best discount wins | $32.00 | 20% beats 10%: the coupon replaces the catalog discount. |
| Never combine | $36.00 | The coupon does not apply to an item that already has a catalog discount. |
With Best discount wins, a 5% coupon on the same item changes nothing: the 10% catalog price is the larger discount and stays.
The coupon stays applied in every case, so the customer can remove it, and the cart line explains the price, for example “The coupon replaces the catalog discount on this item (the larger discount applies)”.
Common tasks
Section titled “Common tasks”Let the best discount win for all coupons
Section titled “Let the best discount win for all coupons”- Open Add-ons → Manage add-ons → Discount Rules → Settings.
- Set Coupon promotions to Best discount wins and save.
Exclude one promotion from items with a catalog discount
Section titled “Exclude one promotion from items with a catalog discount”- Open the promotion under Marketing → Promotions.
- In the Discount Rules block choose Never combine and save.
Limit what a Black Friday coupon can give
Section titled “Limit what a Black Friday coupon can give”- Open the coupon’s promotion and enter Maximum discount (amount), for example 25.00, or a percent.
- The coupon never gives more than that over the whole order, in whole cents.
Protect your margin
Section titled “Protect your margin”- In Margin floor, switch on Margin floor for cart promotions and set the percent.
- Enter the cost on the product page (or install Product Cost & Profit Reports, which the add-on then uses).
- A line whose cost is known does not drop below cost + margin because of a cart promotion. If a catalog discount alone is already below the floor, it stays (it is your own price) and the coupon is not added on top.
Order of the rules
Section titled “Order of the rules”- The combination policy decides which discounts remain on a line.
- The per-promotion cap, then the per-line cap, the margin floor and the per-order cap reduce the cart promotions, in that order. Each step can only lower a discount.
- A discount never exceeds the price of the line, so a price is never negative.
What customers see
Section titled “What customers see”Under the cart line (cart and checkout) and in the order they placed, a short note says what happened: a promotion replaced the catalog discount, the catalog discount stayed because it was larger, a promotion is not combined with sale items, or a discount was limited by a maximum. The notes are kept with the order, so later changes of your settings do not change an old order.
What the admin sees
Section titled “What the admin sees”The order page lists the same notes under each line and shows how much the add-on reduced the discount of the order. In Multi-Vendor, every suborder carries the notes of its own lines.
Good to know
Section titled “Good to know”- Coupon codes and promotion conditions (minimum subtotal, number of products) are evaluated by CS-Cart before Discount Rules changes the lines.
- An order-level promotion (for example “15% off the order”) is shared over the lines by price. With Best discount wins it applies to the lines where it beats the catalog discount; a fixed-amount order promotion goes to those lines in full, up to their price.
- Shipping rates and free-shipping thresholds are calculated after Discount Rules adjusted the lines, so they see the final prices. A free-shipping promotion with a subtotal condition is evaluated by CS-Cart before that and uses the price before the rules.
- A “sale” shown only through the list price (“was” price) is not a discount for CS-Cart’s promotion engine. Only a catalog promotion counts as a catalog discount, so “Never combine” does not protect items that merely show a strike-through price.
- The margin floor limits cart promotions and coupons only. It does not limit catalog promotions, products without a cost, or discounts it cannot attribute to a promotion (for example reward points in use, which also count towards the order cap).
- Hidden promotions of other add-ons (for example product bundles) are cart promotions and follow Other cart promotions; they cannot be set one by one.
- A coupon that ends up giving nothing (for example blocked by Never combine on every line) stays in the cart for the customer to remove, but is not stored with the order and does not count as used.
- In Multi-Vendor only the marketplace owner enters costs; vendors do not see the cost field.
- Prices that include tax: the margin floor compares the cost with the price shown in the cart.