Shopify themes, liquid, logos, and UX
Hi Zaczee,
Thanks for your reply. i used this code:
<p class="cart-attribute__field">
<input type="hidden" name="attributes[Authority to Leave]" value="No">
<input type="checkbox" name="attributes[Authority to Leave]" value="Yes"{% if cart.attributes["Authority to Leave"] == "Yes" %} checked{% endif %}>
<label>Authority to Leave</label>
</p>
I used this code in main-cart-items.liquid.
I think maybe I should change some code in cart-js? But not sure how to do it.
thank you
Hi Zaczee,
problem is solved.
Hey,
how did you resolve this problem?
I had the same problem in the Dawn theme. I didn't have the problem if I added an acknowledgement checkbox to main-cart-footer, but it did happen when I tried to add it to main-cart-items.
Because our creative team wanted the acknowledgement checkbox higher up on the page, I solved my issue by creating a new section and adding the new section separately to template/cart.json above main-cart-items.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024