To include the article number in stock subscription emails, use the following syntax based on the email template type.
1. "Enter Stock Subscriber State: Notified" Email Template
Use the following variable to display the product number in the email template:
- {{ product.productNumber }}
- Reference Screenshot: https://www.awesomescreenshot.com/image/53549573?key=6a7977a7a7a63d682ede6beff2b87292
2. "Stock Subscription Double Opt-In" Email Template
For this template, use the following code snippet to loop through the products and display the product number:
{% for product in products %}
Product Number: {{ product.product.productNumber }}
{% endfor %}
- Reference Screenshot: https://www.awesomescreenshot.com/image/53549562?key=1d4c19b47bdc085f415190523870e5e0
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article