Adding discount codes
Before discount codes can be used in the frontend, they must be set-up in the backend. This can be done by reaching out to a KASKO certified backend developer.
Enabling coupon codes in the frontend
After the discount codes have been enabled for the product, discount codes can be implemented in the frontend. This can be done by following these steps:
Set field definition for coupon_code
:
Add the coupon code component to the flow:
Alternatively, this snippet can be used for greater flexibility:
Last updated