Skip to main content

CaPromoCode

Promo code block used mainly in checkout

SASS-path: ./styles/components/molecules/ca-promo-code.scss

Props

NameDescriptionTypeRequiredDefault
activePromoCodeThe active promo code, if anyStringtrue-

Methods

MethodDescriptionParameters
setPromoCodeSet a promo code for the cart. Performs a graphql mutation-
removePromoCodeRemove the set promo code-