Table of Contents
...
We’ll adjust the title of the modal that already exists at checkout to be equal to the legacy /offers modal
We’ll adjust the legacy /offers modal to show the yes/no button to be equal to the modal that we have on the cart page
We’ll adjust the legacy /offers modal to not show the X close button at the top to be equal to the modal that we have on the cart page
Solution flow
...
Acceptance criteria
...
Task 1: adjust cart-promo-codes.view.tsx to accept modal values through params
PS: The final solution was more simple than what’s suggested here. I did not need to create new params because I standardize things.
...