shop.coupon - Generates a unique customer coupon

This placeholder is part of a premium add-on in ShopMagic PRO: 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, an email message.

Parameters

  • template (required) - choose a coupon template that will be used to generate the customer coupon
  • restrict usage to recipient - the coupon is limited only to the customer to whom the email is sent
  • 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
    • parameter can take:
      • number
      • text value of a relative date, e.g. ‘next friday’, ‘+1 week’
      • specific date
  • prefix (optional) - prefix for the generated coupon
    • default: sm-
  • usage 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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us