Adding Article Number to Stock Subscription Email Templates in Shopware

Created by Baz ‎‎, Modified on Mon, 24 Mar at 5:42 AM by Baz ‎‎

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:


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 %}





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article