shop.coupon - Generates a unique customer coupon
This placeholder is part of a premium add-on for ShopMagic: Customer Coupons.
Description
Use {{ shop.coupon }}
placeholder to generate and display the unique and personalized customer coupon.
Usage
Place {{ shop.coupon | template: 'example' }}
in any field that supports placeholders. For example email message.
Parameters
- template (required) - choose a coupon template that will be used to generate the customer coupon
- expires (optional) - number of days the coupon is valid for after being generated
- default: if left blank the expiry from the template coupon will be used
- prefix (optional) - prefix for the generated coupon
- default:
sm-
- default:
- limit (optional) - number of times the coupon can be used
- default: 1
Fallback
This placeholder does not have any fallback. If it is used with the template coupon that does not exist, it will display no content.