CaPromoCode
Promo code block used mainly in checkout
SASS-path: ./styles/components/molecules/ca-promo-code.scss
Props
Name | Description | Type | Required | Default |
---|---|---|---|---|
activePromoCode | The active promo code, if any | String | true | - |
Methods
Method | Description | Parameters |
---|---|---|
setPromoCode | Set a promo code for the cart. Performs a graphql mutation | - |
removePromoCode | Remove the set promo code | - |