Discount Rules: Stacking Control and Margin Floor
Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.2 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.22.x, PHP 7.4 – 8.3 · Changelog: view · Product page: Discount Rules: Stacking Control and Margin Floor
Discount Rules lets you decide how catalog discounts, cart promotions and coupons combine in CS-Cart and Multi-Vendor: stack them (the CS-Cart default), let the best discount win, or never combine a promotion with items that already have a catalog discount. Add maximum discounts and a margin floor, and the cart and the order explain the price in plain words.
The problem it solves
Section titled “The problem it solves”A store runs a catalog promotion (sunscreens -10%) and a brand coupon (-20%). CS-Cart applies both to the same item: the customer pays 30% less than the original price, usually more than the store planned. Discount Rules gives you the choice, per promotion or for the whole store:
- Stack (CS-Cart default): the discounts add up.
- Best discount wins: on every cart line the larger discount applies. A 20% coupon replaces the 10% catalog price instead of being added to it; where the catalog price is larger, the catalog price stays.
- Never combine: the promotion skips lines that already have a catalog discount.
Key features
Section titled “Key features”- Combination policy for coupon promotions and for other cart promotions, with an override on every promotion.
- Maximum discount per line, per order and per promotion (percent or amount).
- Margin floor: cart promotions and coupons never take a line below its cost plus a margin you set (catalog promotions and products without a cost are not limited). Uses the cost of Product Cost & Profit Reports when it is installed, otherwise a cost field this add-on adds to the product page.
- A short note under the cart line and in the order says which discount applied and why.
- Works with core promotions, coupons and the bonuses of Advanced Promotions, with Multi-Vendor orders (each vendor suborder keeps its share), Ultimate storefronts, both tax calculation methods and every currency.
- Exact to the cent, never a negative price, and the same result however often the cart is recalculated.
- Prints nothing on catalog pages, so it is safe with the full page cache.
Compatibility
Section titled “Compatibility”- CS-Cart and Multi-Vendor 4.17.2 – 4.22.x (tested on 4.17.2; see the compatibility table for the exact stores).
- PHP 7.2.5 to 8.3, depending on your CS-Cart version.