A coupon or promotion that covers every group under a parent item group
The customer asks: A coupon for Supplements should cover every supplement, Protein and Vitamins included
- Verdict: Ready, with limits (5)
- Door: Event feed · area: Prices and promotions › Promotions and coupons
- Recipe: A coupon or promotion for a parent item group
- Sample: S31 — Parent item groups in coupons and promotions (pp_pgx)
- Checked: sample S31's laptop tests and canaries only (13 tests, 9 canaries); not run on a retailer's iVendNext: the till applying a written-out coupon was not walked
What you build
The till's coupon and promotion engines match an item's own item group exactly, so a row naming a parent group misses its children. An outside app on the event feed writes a coupon's get rows and a promotion's exclusion rows out as the child groups, and keeps them so when a group is added or moved.
Limits
- A row appears a few seconds after the save, not in the same save.
- A promotion's buy and get rows are reported, never changed: a child row there would change the offer.
- A coupon has no item-group exclusions at this version.
- Every item group save reads every coupon and promotion: with thousands of them, run the catch-up on a schedule instead.
- Not run on a till.
Tell the customer
A coupon or promotion set on a parent group covers every group under it, kept up to date a few seconds after each change.
What next
- Tell the customer the 5 limits above, and write them into the proposal.
- Follow the recipe: A coupon or promotion for a parent item group.
- Copy the sample: S31 — Parent item groups in coupons and promotions (pp_pgx), and change it.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (testing and release).
- Release through the customer's own release gate (14. Testing and release); an app other shops install goes through the App library.
Stop your service for a while and start it again: it must catch up from the event feed, missing nothing.
Related needs
- Our prices, promotions and coupons — Ready, with limits (3)
- A coloured row in the Desk product list for the products on promotion — Ready, with limits (4)
- Filter the product list to the products on promotion — Ready, with limits (3)
Start a project shortlist with this need · Put it in your blueprint · Every need