Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello Everyone,
I am trying to add sticky add to cart code to my dawn theme. I used this tutorial: Add Sticky Add to Cart button to Dawn theme v14 - Shopify Community
It is returning an Error which you can see in my screen shot attached.
Line 207 in Sections/ Sticky-atc is: {% render 'icon-minus' %} It is telling me that snippets/icon-minus.liquid doesn't exist
Line 212 is: {% render 'icon-plus' %}. Which is also saying does not exist.
I am a newby. What do I do to fix this please?
Hi,
The issue because those icons file not exist in snippets folder, to solved you need go to snippets folder and then created twice files call icon-minus.liquid and icon-plus.liquid because those files contain svg file icon so you need download svg from default theme to paste to those files.
Thank you,
I tried doing this a few minutes ago. The plus and minus came out huge and weren't functional. I have removed the quantity selector for now. I will sleep on it and tackle it later.
Is there an advantage to using code over an app?
Hi,
> Is there an advantage to using code over an app?
The plus/minus quantity is basically function, it can be implement by javascript to handle event from user,
About handle by code that make speed site better than use app and it can easy to customize and maintain.
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