Adding discount codes
Enabling coupon codes in the frontend
{
"discount": [
{
"name": "coupon_code",
"validation": "string"
}
]
}{
"type": "form-coupon-code",
"config": {
"content_key": {
"input_label": "form.coupon_code.label",
"input_placeholder": "form.coupon_code.placeholder",
"button": "form.coupon_code.button"
}
}
}Last updated