A space to discuss online store customization, theme development, and Liquid templating.
Hi,
I've just upgraded my theme from Debut to Dawn, and am trying to add a "hear about us" dropdown in the cart, but I can't seem to find cart.liquid anymore there is only cart.json?
I've tried both methods below:
2. https://ui-elements-generator.myshopify.com/pages/cart-attribute
Both require me adding code to the cart.liquid which no longer exists.
How can I do this?
Solved! Go to the solution
This is an accepted solution.
.json file are the new format of store 2.0. you don't have to worry about it. In cart.json you can check which files are used. for example you might see type 'main-cart-items' and 'main-cart-footer' which are the sections included on cart page. you can navigate to this files in sections and add your code where ever you want to display.
If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact me on mail | Shopify Design Changes | Custom Modifications In to Shopify Theme
This is an accepted solution.
.json file are the new format of store 2.0. you don't have to worry about it. In cart.json you can check which files are used. for example you might see type 'main-cart-items' and 'main-cart-footer' which are the sections included on cart page. you can navigate to this files in sections and add your code where ever you want to display.
If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact me on mail | Shopify Design Changes | Custom Modifications In to Shopify Theme
Yes this worked - thank you!
Hi,
I am trying to follow this solution and I found the'main-cart-footer' section, but I don't understand - where do I paste the code into the 'main-cart-footer' section?
Thanks,
~ Leigh
Can i know what do you want to add and where on Footer along with theme name you are using.