Personalized checkout and custom promotions with Shopify Scripts
Hi,
Would like to know if it is possible to change a metafield value from a checkbox status.
For example:
<p>Subscribe email? <input type="checkbox" id="email" name="mail"
checked>
{% assign product.metafields.my_namespace["my_key"].value = email.checked %}
Cheers,
Gonkas
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025