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
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024