Hello
I am using in page drawer cart and when you checkout there is a back to cart button and it takes you to the cart page which I dont like. How can I redirect it to another link?
website link: https://msmoh.myshopify.com
Hello
I am using in page drawer cart and when you checkout there is a back to cart button and it takes you to the cart page which I dont like. How can I redirect it to another link?
website link: https://msmoh.myshopify.com
You can hide the cart button on checkout page
I dont want to hide it I want to redirect it
On which theme you are working with ?
Check customizer area if it any setting for that.
you can not do any customization on shopify check out page
Hello @nalnowaeam ,
Greetings!!
There is no any back to cart button https://prnt.sc/HU37ArOBD4II
If you have still have an issue please follow the steps, https://prnt.sc/0FdG5hyhQ2UV
online store->actions->edit code
paste in theme.liquid
{% if template == 'cart' %}
<script>window.location.href = '/';</script>
{% endif %}
Hi what would I change the code below to if I want to go back a page?
{% if template == 'cart' %}
<script>window.location.href = '/';</script>
{% endif %}
This worked for me! How can I redirect to the homepage with the cart drawer opened? Using a customized Dawn theme.