Setup
1
Discount List Wrapper
Add a empty div block in the default stage of the cart where you want to render the discount list.
2
Discount List Wrapper - Attributes
Add following attribute to the div block:
3
Discount Code Template
Add a div block inside the
discountcodeslist
. The div will be used as a template to render the discount code list.4
Discount Code Template - Attributes
Add following attribute to the div block:
5
Discount Code Template - Name
Add a text block inside the
discountcodeItem
div block with following attribute:6
Discount Code Template - Remove
Add a icon/button inside the
discountcodeItem
div block with following attribute:The icon/button we created in step 6 will be used as a button to remove the discount code from the cart.