It's not that effective, but it's also a good idea to display links to products and collections on the empty cart page, like Allbirds does. This is an example of a setting that shows or hides depending on the contents, and displays the cart without refreshing the screen even when it's emptied.
1
/
of
1
Published:2023.05.26
When adding content (sections) to the cart page of the Shopify theme "Dawn", how can I display them only when the cart is empty, and not display them if there are products?
When adding content (sections) to the cart page of the Shopify theme "Dawn", how can I display them only when the cart is empty, and not display them if there are products?
Applications
Applications
- Cart Edit
How to implement
How to implement
- Javascript
Share
After making a purchase (all items are ¥0), you will be able to view the sample code.
Couldn't load pickup availability
If you have already made a purchase, please login here.
Sample Codes
Test Theme :Dawn/Rise 15.2.0
Place the sections you need in your cart page template and add your customized Liquid section separately.
