Hi! I have the envy theme and am looking to change the newsletter sign up block to ask for a phone number instead of an email. Any solutions?
Hi @thelittlehousek ,
You have to change the input type to tel, change the label to phone, change the placeholder, and add a pattern. It would be best to provide us the newsletter code and we will change it for you.
See the code below for reference
{% form ‘customer’ %}
{{ form.errors | default_errors }}
{{ 'general.newsletter_form.thanks' | t }}
This is what I could find
Hi @thelittlehousek ,
I do not see the label part, but try the code below. Please make sure to duplicate your theme prior to changing the code so you have a theme to revert back to.
{% form 'customer' %}
{{ form.errors | default_errors }}
**{{ 'general.newsletter_form.thanks' | t }}**
{% endform %}
Thank you! Worked great!