I am using empire theme and I am looking for a free app or some code lines to add a check box in the newsletter subscription section.
at the moment it is sufficient for the customer to put his/her email address and to click on the button but I would like to add a checkbox which says : I read and accepted the privacy statement .
thanks for posting the solution. I am using the Debutify Theme and not finding the “button” line.
Section Newsletter.liquid I see the %schema%.
{% schema %}
{
“name”: “Newsletter”,
“class”: “newsletter-section”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Subscribe to our newsletter” <input type=“checkbox"value=”" required/> I have read and agree to the Terms of Use and Privacy Policy
},
{
“type”: “text”,
“id”: “subtitle”,
“label”: “Subheading”,
“default”: “A short sentence describing what someone will receive by subscribing”
In the footer.liquid I tried to add the line of code but got the result below. Could you please advise? Thanks a lot.
@wearehumanus you have add the HTML check box for only the newsletter. Currently, you added on schema means they render on of active block, you can add the checkbox on newsletter snippets or particular section file.
Hi again Avid and thanks for your follow-up. Haven’t found the solution yet but on it. Any idea on the box size and putting a hyperlink on the Privacy Policy?
@wearehumanus thank for posting your issue now you need to add CSS based on your layout. if can’t do it yourself then you have to hire an Expert Developer.