How can I alter the continue shopping button link on my website?

Solved

How can I alter the continue shopping button link on my website?

jakegrieveson
Explorer
123 0 16

How do i change the link my cart continue shopping button takes me to, i would like to change it to https://desire-online.net/pages/all-products, what is some code to do this?

theme:dawn

website: desire-online.net

Screenshot (413).png

Accepted Solutions (3)

Guleria
Shopify Partner
3187 620 891

This is an accepted solution.

Follow these steps:

 

1. Go to Online Store -> Theme -> Edit code

 

 2. Open your main-cart-items.liquid file under Sections
3. Search for this code
<a href="{{ routes.all_products_collection_url }}" class="button">
{{ 'general.continue_shopping' | t }}
</a>

line no. 34 - 36

Replace this part 
href="{{ routes.all_products_collection_url }}"

wih 
href="/pages/all-products"

 

Thanks

 

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me. - Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
- Support me PayPal

View solution in original post

ZenoPageBuilder
Shopify Partner
1052 203 221

This is an accepted solution.

Hello @jakegrieveson 👋

Inside Shopify Admin, you can go to Edit theme code, open file main-cart-items.liquid, find this code section and replace the url like this

Screenshot 2023-10-22 at 09.52.32.png

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com

View solution in original post

ZenoPageBuilder
Shopify Partner
1052 203 221

This is an accepted solution.

It is immediately above

Screenshot 2023-10-22 at 10.43.14.png

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com

View solution in original post

Replies 4 (4)

Guleria
Shopify Partner
3187 620 891

This is an accepted solution.

Follow these steps:

 

1. Go to Online Store -> Theme -> Edit code

 

 2. Open your main-cart-items.liquid file under Sections
3. Search for this code
<a href="{{ routes.all_products_collection_url }}" class="button">
{{ 'general.continue_shopping' | t }}
</a>

line no. 34 - 36

Replace this part 
href="{{ routes.all_products_collection_url }}"

wih 
href="/pages/all-products"

 

Thanks

 

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me. - Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
- Support me PayPal

ZenoPageBuilder
Shopify Partner
1052 203 221

This is an accepted solution.

Hello @jakegrieveson 👋

Inside Shopify Admin, you can go to Edit theme code, open file main-cart-items.liquid, find this code section and replace the url like this

Screenshot 2023-10-22 at 09.52.32.png

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
jakegrieveson
Explorer
123 0 16

This worked, there is another continue shopping button i would like to change to this url too, how do i do this?

Screenshot (429).png

ZenoPageBuilder
Shopify Partner
1052 203 221

This is an accepted solution.

It is immediately above

Screenshot 2023-10-22 at 10.43.14.png

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com