E-commerce
July 1, 2026
"The bot promises to combine two codes when Shopify only accepts one." "The AI does not read discounts already applied to the cart." "Chatbot confuses invalid code with stacking rule." Three failures where a miscalibrated discount stacking bot promises stack out-of-map or route reduce-promo.
An e-commerce stacking discounts AI chatbot does not replace STACKDISC (#807) agents. It reads STACKDISC-MAP, quotes allowed_combos_copy forbidden_combos_copy, verify cart API discounts, and does handoff post-order to humans without promising invented stacking.
This guide #808 covers intents bot_stackdisc_*, flow STACKDISCbot, and KPI stackdisc_bot. Companion bot to the STACKDISC playbook (#807). Promo AI use case: diagnosing tier 1 stacking rules.
Summary
Why automate discount accumulation using a bot?
"Stacking codes", "promo + loyalty", "manual + auto code" are coming to the cart checkout widget. A calibrated bot reads STACKDISC-MAP, verifies discounts_applied via the cart API, and quotes allowed or forbidden combinations without applying an incorrect discount.
What the bot resolves for tier 1 stackable discounts
Stack rules: stack_rules_copy STACK-CITE-BOT map
Allowed combos: allowed_combos_copy cite map
Forbidden combos: forbidden_combos_copy cite map
Code vs auto: code_vs_auto_copy cart API map
Handoff post-order: #807 payload codes cart discounts
Stacking questions generate checkout abandonment if poorly routed (Shopify, 2026 combinations). Without a grounded bot, the AI routes as a reduce-promo or promises stacks outside of the map.
STACKDISCbot vs STACKDISC #807, AUTODISCbot #602, promo-reduce and anti-hallucination #123
Six pieces of content, six distinct discount stack paths.
Quick Matrix
#808 STACKDISCbot: tier 1 bot to diagnose cart checkout stack rules
#807 STACKDISC: agents partial refund post-order escalate
AUTODISCbot #602: missing auto discount distinct stack stack rules
Bot checkout #292: chk_coupon_stack intent distinct STACKDISC map
reduce-promo: invalid code red error distinct combination
Anti-hallucination #123: combos = map cart API whitelist only
Pipeline: #808 bot stack tier 1 → #807 agents partial refund post-order.
Which bot_stackdisc_* intents should be configured?
Eight bot intents cumulative discounts mapped typologies stackdisc_* #807.
Eight bot intents bot_stackdisc
bot_stackdisc_rules: stack_rules_copy STACK-CITE-BOT map
bot_stackdisc_allowed: allowed_combos_copy cite map
bot_stackdisc_forbidden: forbidden_combos_copy cite map
bot_stackdisc_code_auto: code_vs_auto_copy CART-API map
bot_stackdisc_two_codes: two manual codes scenario map
bot_stackdisc_types: product_order_shipping_copy map
bot_stackdisc_loyalty: loyalty_stack_copy gwp_stack_copy map
bot_stackdisc_handoff: post_order → STACKDISC807-HANDOFF-BOT
Tier 1 auto: rules allowed forbidden code_auto two_codes if STACKDISC-MAP + CART-API-GROUNDED-BOT.
Red checkout error code → REDUCEPROMO-REROUTE-BOT distinct valid cumulative.
How to consume STACKDISC-MAP #807?
The bot reads STACKDISC-MAP #807: stackdisc_program_id, stack_rules_copy, product_order_shipping_copy, code_vs_auto_copy, allowed_combos_copy, forbidden_combos_copy, loyalty_stack_copy, gwp_stack_copy, autodisc601_reroute_copy.
Lookup grounded cart checkout embed
STACK-CITE-BOT: stack_rules allowed forbidden cite map verbatim
CART-API-GROUNDED-BOT: discounts_applied automatic manual API only
NO-STACK-PROMISE-BOT: stacking outside allowed_combos_copy forbidden map
COMBO-VERIFY-BOT: codes_attempted vs discounts_applied compare API
AUTODISC602-REROUTE-BOT: auto missing → #602 distinct stacking rules
REDUCEPROMO-REROUTE-BOT: red error code → invalid distinct combination
STACKDISC807-HANDOFF-BOT: post_order → #807 agents SD-7 partial refund
Alignment anti-hallucination (#123): combinations = STACKDISC-MAP + cart discounts API whitelist only.
STACKDISCBOT-SUP Policy in six rules
Six bot rules for stacking discounts during responsible checkout.
STACKDISC-MAP-GROUNDED-BOT: stack response from map only
STACK-CITE-BOT: allowed forbidden stack_rules cite map
CART-API-GROUNDED-BOT: discounts_applied before explaining stacking
NO-STACK-PROMISE-BOT: do not promise stacking outside of allowed_combos map
COMBO-VERIFY-BOT: compare codes_attempted with discounts_applied API
NO-COMPENSATE-BOT: bot does not partial refund or compensate discount map
Flow STACKDISCbot SDB-1 to SDB-8
Eight-step flow bot cumulative discounts cart checkout embed.
SDB-1 Classify: bot_stackdisc_* intent detect keyword accumulate combine two codes auto promo
SDB-2 Collect: codes_attempted cart_id session minimal
SDB-3 STACKDISC-MAP: stack allowed forbidden code_auto loyalty gwp autodisc reducepromo handoff
SDB-4 Cart verify: discounts_applied types CART-API-GROUNDED-BOT COMBO-VERIFY-BOT
SDB-5 Guardrail: STACK-CITE CART-API NO-PROMISE COMBO-VERIFY AUTODISC602 REDUCEPROMO HANDOFF
SDB-6 Respond: TPL-STACKDISCbot grounded rules combo max 3 sentences
SDB-7 Handoff or close: post_order #807 payload or close customer understands rule
SDB-8 Log: intent stackdisc_program_id tag stackdisc_bot stack_cited handoff Y/N
Example TPL-STACKDISCbot-CODE-AUTO
« [code_vs_auto_copy map.] Cart: [discounts_applied API list.] Allowed: [allowed_combos_copy map.] Forbidden: [forbidden_combos_copy map.] STACK-CITE-BOT. »
TPL-STACKDISCbot and touchpoints templates
Four short templates for checkout cart embed.
TPL-STACKDISCbot-RULES
[stack_rules_copy map.] [product_order_shipping_copy map.] STACK-CITE-BOT.
TPL-STACKDISCbot-ALLOWED
Can be combined: [allowed_combos_copy map.] Active in cart: [discounts_applied API.] STACK-CITE-BOT.
TPL-STACKDISCbot-FORBIDDEN
Cannot be combined: [forbidden_combos_copy map.] Alternative: [allowed_combos_copy suggestion map.] STACK-CITE-BOT.
TPL-STACKDISCbot-TWO-CODES
Two codes: [forbidden_combos_copy two manual map.] Applied: [discounts_applied API.] COMBO-VERIFY-BOT.
Touchpoints checkout cart
Keyword combine codes: bot_stackdisc_rules bot_stackdisc_allowed instant
Second code parsed: bot_stackdisc_two_codes bot_stackdisc_code_auto trigger
Discount replaced checkout: bot_stackdisc_code_auto proactive
Loyalty + promo keyword: bot_stackdisc_loyalty loyalty_stack_copy map
No partial refund embed: STACKDISC807-HANDOFF-BOT agents #807 only.
Edge cases and reroutes
Five cases outside of tier 1 cumulative bot standard.
Missing auto discount: AUTODISC602-REROUTE-BOT #602 cart_check distinct stack rules
Red error code: REDUCEPROMO-REROUTE-BOT invalid typo expiration
BOGO quantity: BOGO1bot #592 distinct % cumul
GWP gift threshold: GWP #553 gwp_stack_copy map
Retroactive post-order: STACKDISC807-HANDOFF-BOT agents #807 partial refund policy
Tier 1 STACK-CITE cumulative rule. Discount compensation → handoff #807 NO-COMPENSATE-BOT.
Essential stackdisc_bot KPIs
Five STACKDISCbot steering metrics.
stackdisc_bot_checkout_recover: post-bot completion without checkout agent completed
stackdisc_bot_stack_cite_rate: STACK-CITE-BOT / bot_stackdisc rules allowed forbidden
stackdisc_bot_stack_promise_violations: accumulated promised outside of map audit target 0
stackdisc_bot_misroute_rate: incorrectly routed reduce-promo autodisc / total
stackdisc_bot_handoff_rate: escalate #807 / total stackdisc bot
Target: stackdisc_bot_checkout_recover greater than 40% and stackdisc_bot_stack_promise_violations 0.
STACKDISCbot anti-patterns
Five common errors regarding bot discount stacking at checkout.
Promising stacking off-map: NO-STACK-PROMISE-BOT allowed_combos_copy only
Explaining without cart API: CART-API-GROUNDED-BOT discounts_applied mandatory
Routing directly on invalid code: REDUCEPROMO-REROUTE verify red error vs stacking
Compensating bot discount: NO-COMPENSATE-BOT handoff #807 agents only
Ignoring code vs auto: bot_stackdisc_code_auto code_vs_auto_copy COMBO-VERIFY
STACKDISCbot with Qstomy
Qstomy on Shopify: detect bot_stackdisc intent cart checkout, STACKDISC-MAP RAG grounded, CART-API discounts lookup, STACK-CITE guardrail, handoff #807 tier 2.
Pipeline: #808 bot cumul tier 1 → #807 agents partial refund post-order.
Explore AI support and request a demo.
Checklist, FAQ and going further
STACKDISCbot Checklist (8 steps)
Sync STACKDISC-MAP #807: RAG bot cart checkout cumulative embed
Policy STACKDISCBOT-SUP: 6 rules STACK-CITE CART-API NO-PROMISE COMBO-VERIFY NO-COMPENSATE
8 intents bot_stackdisc_*: flow SDB-1 to SDB-8
4 templates TPL-STACKDISCbot-*: RULES ALLOWED FORBIDDEN TWO-CODES
Cart discounts API sync: automatic manual types test combo verify
Red team 10 prompts: cumulative promise off map without cart lookup compensate bot
Second code proactive: bot_stackdisc_two_codes trigger checkout
Dashboard KPI: stackdisc_bot_* section 9 checkout_recover promise_violations handoff
FAQ
Difference #807?
#807 = agents partial refund post-order. #808 = bot tier 1 diagnose cumulative rules.
Bot combines two codes?
No if forbidden_combos_copy map. TPL-STACKDISCbot-FORBIDDEN STACK-CITE-BOT.
Difference AUTODISCbot #602?
#602 = automatic discount missing. #808 = cumulative rules auto code two codes.
Red code invalid?
REDUCEPROMO-REROUTE-BOT distinct valid combination refused.
Going further
This week: deploy STACKDISC-MAP RAG cart checkout embed, red team stack_promise_violations audit, sync bot_stackdisc_code_auto proactive scenario code SUMMER15 replaces auto -20% test.

Enzo
July 1, 2026





