How can I modify the 'Continue Shopping' link in the Maker theme?

Solved

How can I modify the 'Continue Shopping' link in the Maker theme?

SuzyKot
Tourist
10 0 3

How to change continue shopping link for Maker theme

https://20wglqqtaf5oifwd-78443479386.shopifypreview.com

Accepted Solution (1)

theycallmemakka
Shopify Partner
1551 353 379

This is an accepted solution.

Hi @SuzyKot ,

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

NOTE: Please replace ##YOUR LINK## with the new link while adding the code to the theme.

<script>
if(document.querySelector('.cart--continue-shopping a[href="/collections/all"]')){
   document.querySelector('.cart--continue-shopping a[href="/collections/all"]').setAttribute('href', '##YOUR LINK##') 
}
</script>

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

 

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 6 (6)

iffikhan30
Shopify Partner
246 35 45

Hello SuzyKot,

 

First you check theme options, then customization collection page, If not check got to theme editor check collection-list.liquid file.

Custom theme and app [remix] expert.

Email: irfan.sarwar.khan30@gmail.com
Chat on WhatsApp

theycallmemakka
Shopify Partner
1551 353 379

This is an accepted solution.

Hi @SuzyKot ,

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

NOTE: Please replace ##YOUR LINK## with the new link while adding the code to the theme.

<script>
if(document.querySelector('.cart--continue-shopping a[href="/collections/all"]')){
   document.querySelector('.cart--continue-shopping a[href="/collections/all"]').setAttribute('href', '##YOUR LINK##') 
}
</script>

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

 

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

SuzyKot
Tourist
10 0 3

Thank you Makka!

lsvvintage
Tourist
15 1 1

Hi! Would this also work for the Dawn theme? I tried but it does not work right now, so I thought maybe there is a difference. Thanks 🙂

theycallmemakka
Shopify Partner
1551 353 379

Hi @lsvvintage 

 

Can you provide link to your store? I will review the store and provide code accordingly

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

lsvvintage
Tourist
15 1 1

Hi!

 

the link is forey.eu and the password is Laura