Shopify themes, liquid, logos, and UX
I've read through a few posts asking about these, but am unsure how to do these for the Venture theme that we currently use on the store.
I want to add code like this to the checkout or the cart so people can opt in to be contacted about one of our products. I did use some code off the UI elements generator, but where do I need to put this in our current theme?
This was the code I intended to add:
<p class="cart-attribute__field">
<input type="hidden" name="attributes[If you have purchased a challenge badge we'd love to get in touch about your experience of our challenge packs! Please click here if you agree to this.]" value="No">
<input type="checkbox" name="attributes[If you have purchased a challenge badge we'd love to get in touch about your experience of our challenge packs! Please click here if you agree to this.]" value="Yes"{% if cart.attributes["If you have purchased a challenge badge we'd love to get in touch about your experience of our challenge packs! Please click here if you agree to this."] == "Yes" %} checked{% endif %}>
<label>If you have purchased a challenge badge we'd love to get in touch about your experience of our challenge packs! Please click here if you agree to this.</label>
</p>
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