Liquid, JavaScript, themes, sales channels
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.
😉
User | RANK |
---|---|
37 | |
25 | |
14 | |
13 | |
9 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023