Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
My product listings when sold and with zero inventory, change to collect email addresses.
I believed there would be a list of these emails and what the customer wanted somewhere.. Is not.. How can I find/get these "back in stock" notification email entries
there was the default shopify form "product-notify-me" template
Here is the Liquid tag of that form
{% if settings.notify_me_form %}
<div class="notify_form notify-form-{{ product.id }}" id="notify-form-{{ product.id }}" {% if product.available %}style="display:none"{% endif %}>
<p class="message"></p>
{% form 'cont{% if settings.notify_me_form %}
<div class="notify_form notify-form-{{ product.id }}" id="notify-form-{{ product.id }}" {% if product.available %}style="display:none"{% endif %}>
<p class="message"></p>
{% form 'contact', id: "notify_me" %}
{% if form.errors %}
<p><em>{{ 'products.notify_form.post_error' | t }}</em></p>
{% else %}
<p>
<label aria-hidden="true" class="visuallyhidden" for="contact[email]">{{ 'products.notify_form.description' | t }}:</label>
{% if settings.notify_me_richtext %}
{{ settings.notify_me_richtext }}
{% endif %}
<div class="notify_form__inputs notify_form__singleVariant {% if customer %}customer--true{% endif %}" data-body="{{ 'products.notify_form.message_content' | t: product: product.title, url: canonical_url }}">
{% if product.variants.size == 1 and product.available == false %}
{% if customer %}
<input type="hidden" name="contact[email]" class="notify_email" id="contact[email]" value="{{ customer.email }}" />
{% else %}
<input required type="email" class="notify_email" name="contact[email]" id="contact[email]" placeholder="{{ 'products.notify_form.email' | t }}" value="{{ contact.fields.email }}" />
{% endif %}
<input type="hidden" name="challenge" value="false" />
<input type="hidden" name="contact[body]" class="notify_form_message" data-body="{{ 'products.notify_form.message_content' | t: product: product.title, url: canonical_url }}" value="{{ 'products.notify_form.message_content' | t: product: product.title, url: canonical_url }}" />
<input class="action_button" type="submit" value="{{ 'products.notify_form.send' | t }}" style="margin-bottom:0px" />
{% endif %}
</div>
</p>
{% endif %}
{% endform %}
</div>
{% endif %}act', id: "notify_me" %}
Hello @Dennis_Linklett ,
A/to this code notification should be delivered to the store owner inbox.
Thanks
Thanks VERY BIG..
Please help me find my store owner inbox.
😉
Hey @Dennis_Linklett! This should most likely go to your store owner's email and you can find the email address in Settings > Users & Permissions > Store owner.
However, I wouldn't recommend keeping this form and collection flow in the long term. It can be tedious to manage tons of emails and sending out notifications as your store grows, and since the code is custom, it cannot take advantage of Shopify's new features. I highly suggest using an app for back in stock alerts. There are many on the App Store, and I'm the founder of one of them - Stoq, which is one of Shopify's top rated apps.
With an app like Stoq installed, you can easily do all of this in just a few clicks -
We work with many merchants who used to manage back in stock notifications the way you are. And after using an app like Stoq, the amount of time they spend managing it is effectively zero! We'd love to have you on the app; there's a generous free plan to get started and we have 24*7 support too. 🙂
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024