Documentation

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

File Oqs69chr8l

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.

Not the solution you are looking for?

Please check other articles or open a support ticket.

Cookies preferences

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Necessary

Necessary
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.