Shopify themes, liquid, logos, and UX
hello, I would like to replace the empty cart button link from all products on the home page, thanks for who will help me 🙂
Solved! Go to the solution
This is an accepted solution.
Hello @yassined9866 ,
1. Go to Online Store->Theme->Edit code
2. Edit main-cart-items.liquid under Sections
Now here search for this code
<a href="{{ routes.all_products_collection_url }}" class="button">
once found then replace it with this one
<a href="/" class="button">
Last hit save and check it.
Thanks
This is an accepted solution.
1. Go to Online Store->Theme->Edit code
2. Asset->base.css-> paste bellow code in bottom of file
.modal__toggle-open.icon.icon-search {
display: none;
}
This is an accepted solution.
Hello @yassined9866 ,
1. Go to Online Store->Theme->Edit code
2. Edit main-cart-items.liquid under Sections
Now here search for this code
<a href="{{ routes.all_products_collection_url }}" class="button">
once found then replace it with this one
<a href="/" class="button">
Last hit save and check it.
Thanks
thank you so much friend, it worked! can I ask you the last thing if you can solve it? in practice I would like to remove the search icon next to the cart as you see in the picture, can this be done?
This is an accepted solution.
1. Go to Online Store->Theme->Edit code
2. Asset->base.css-> paste bellow code in bottom of file
.modal__toggle-open.icon.icon-search {
display: none;
}
Hello there,
i have same issue and your solutions helps me too, but may i ask if i want them to come direct to landing page instead of homepage.
Can i get the code?
Thank you so much.
Use your URL in place of '/' here
href="/"
yes it works. thank you so much.
thanks Guleria, last question, but I can remove the dynamic button from the cart and put it in the checkaut, I tried a code that I saw on youtube but it didn't work, would you know how to do it?
No, you can't do customization in checkout page.
yes I know, sorry I didn't explain, I meant moving the dynamic button in the check aut
User | RANK |
---|---|
127 | |
102 | |
74 | |
72 | |
41 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022