All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
can anyone tell me how to change the Continue shopping button after placing the goods in the cart in the POP-UP menu? I would like the page to go back one step. I have the basic DAWN 2.0 theme
Thank you for your advice.
Solved! Go to the solution
This is an accepted solution.
Hi @Fidiak,
You can find the code under
Online Store -> Themes -> Actions -> Edit Code -> Snippets -> cart-notification.liquid
Do you mean going back to the previous page? If yes please use this code.
Please change this code
<button type="button" class="link button-label">{{ 'general.continue_shopping' | t }}</button>
to
<button onclick="history.back()" type="button" class="link button-label">{{ 'general.continue_shopping' | t }}</button>
Thank you.
This is an accepted solution.
Hi @Fidiak,
You can find the code under
Online Store -> Themes -> Actions -> Edit Code -> Snippets -> cart-notification.liquid
Do you mean going back to the previous page? If yes please use this code.
Please change this code
<button type="button" class="link button-label">{{ 'general.continue_shopping' | t }}</button>
to
<button onclick="history.back()" type="button" class="link button-label">{{ 'general.continue_shopping' | t }}</button>
Thank you.
Dear Suracethapa,
Thank you very much for your help.
You are amazing.
Regards, Martin
You are welcome.