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
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024