Table of Contents
To have more context: Tech discovery - Discount codes at checkout
Default/legacy behavior to apply different Config Offer types through offers page
Today the promotion code only supports Config Offer type Combo, Picker and Offer Discount.
Offer Combo/Picker
The behavior will be the same: when adding to the cart the user will be redirect to the menu item to configure the item and then apply to the cart:
Offer Discount
Different from Offer Picker or Offer Combo, the Offer Discount is added directly to the cart when applied. The user don't need to be redirected to the menu page.
Config Offer type that we support today at checkout page
Offer Discount: This is the only offer that we are supporting on the checkout page today
Combo and Picker: Not supported today
Current limitation: we need to bring the necessary logic for the other types of Config Offer to the checkout page when applying a promo code through our new feature/field
We are analyzing this subject on a PoC: - IBFEC-1505Getting issue details... STATUS
The PoC will be useful to prove if we'll be able to bring the necessary logic and detect if this can cause any problems to the checkout page or the offers page legacy logic
PoC results and proposal of solution
Work in progress - to be filled
Until I finished the PoC the results will be here: - IBFEC-1505Getting issue details... STATUS on the comments. When I finish I’ll update here with the proposal and details.
Assumptions and business rules
Questions and assumptions
Q: Today, when we redeem a promo code offer that has the type Combo/Picker on the offers page and the user clicks to add the offer to the cart, the application will redirect the user to the menu item (combo/picker) for the selected offer. On the menu page, the user can customize the Combo/Picker if allowed. If the user adds a Config Offer that has this type (Combo/Picker) through the checkout page, he'll not be able to customize the item. What will we do here? Can we consider the default options for the Combo/Picker?
A: We should keep the default behavior if possible:
Add the item as an offer item
Keep the default options selected for the user
Show the “edit” button on the cart offer item (to be validated/aligned)
Business rules / Acceptance criteria
Work in progress - to be confirmed by the PoC and client
The user should not be redirected to the menu page when applying a promotional code directly through the checkout page (for Offer Combo/Picker)
Add the offer item with the defaults selections for the Combo/Picker
Show the “edit” button on the cart offer item. The edit button should send the user to the menu page for the edited item (to be validated/aligned)
Add Comment