My question is: Does the notify me form only notify the customer/owner that the customer wants to know when the product is going to be back in stock or does this section of code automatically notify the customer that the product is back in stock. It looks like all this section of code does is notify the customer/owner that the shopper wants to know when the product is back in stock but doesn’t automatically send out an email when it is back in stock. Example of form (https://www.botiki.com/collections/brighton-jewelry/products/j7071)
CODE:
{% if settings.notify_me_form %}
{% form 'contact', id: "notify_me" %}
{% if form.errors %}
{% endif %}
{{ 'products.notify_form.post_error' | t }}
{% else %}{{ 'products.notify_form.email' | t }}
{% if settings.notify_me_description %}
{{ settings.notify_me_description }}
{% endif %}
{% if product.variants.size == 1 and product.available == false %}
{% if customer %}
{% capture notifyEmailInput %}
{% endcapture %}
{% else %}
{% capture notifyEmailInput %}
{% endcapture %}
{% endif %}
{% endif %}
{% endif %}
{% endform %}
{{ notifyEmailInput }}