Liquid, JavaScript, themes, sales channels
Hello, if you click on the cart on my website, a button for 'continue shopping' comes up on the page. If you click this, it takes you to a page of all collections which I don't want. I'd prefer to redirect people to the homepage, or just remove the button entirely if I can't change this.
I found a similar thread for the issue, but I don't have access to view the solution..
I am using broadcast theme
Please help me solve it, thank you
Hi @lej123
Would you mind sharing your store's URL so we can provide a solution for your issue? Thanks!
Hi @lej123
If this is the button/link you're mentioning then I can see it pointing to the homepage, is that the case?
Otherwise, please add the following code at the end of the theme.scss file:
.cart__foot {
display: none;
}
Should that help answer your query, we always appreciate liking & marking an as answer to let the community find quality solutions faster. Thanks!
Clear, can you find your cart.liquid or cart-template.liquid file?
This button only appears when the cart is empty so the first few lines of the code should suffice to get the property changed. Do let me know!
Hello,
This is the code I can see right now. How should I change this to correct the issue?
<!-- /templates/cart.liquid -->
{% section 'cart' %}
{{ "/services/javascripts/countries.js" | script_tag }}
{{ "shopify_common.js" | shopify_asset_url | script_tag }}
Thanks
Lucy
Hi @lej123
Go to the cart.liquid file that is present under Sections. Then paste the top code so we can provide the solution. Thanks!
Hello,
I pasted the code at the bottom of this section. See below. But this has not solved the issue, when I click continue shopping it still takes me to this page https://www.juno-studio.com/collections
<!-- /templates/cart.liquid -->
{% section 'cart' %}
{{ "/services/javascripts/countries.js" | script_tag }}
{{ "shopify_common.js" | shopify_asset_url | script_tag }}
.cart__foot {
display: none;
}
Please can you help further? Thank you
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024