Maksim Murza
Maksim Murza

Reputation: 31

How to change "Continue shopping" link on the Shopify Thank you page?

I'm trying to change link for the Continue shopping button on the Thank you page (Dawn theme), which is displayed after the checkout.

I didn't find related settings in shopify admin panel. Editing theme code (replacing routes.all_products_collection_url) works only for the cart page, there is no smth like 'thankyou.liquid'. Some articles\answers suggest to add script but this method seems deprecated.

Upvotes: 1

Views: 259

Answers (1)

Christine Shpeherd
Christine Shpeherd

Reputation: 11

To change the URL of continue shopping button, you need to do some changes in the theme code.

In the theme code editor, find the file named: main-cart-items.liquid and search for search for cart__empty-text

Screen shot for reference main cart item section

Now you need to change the href of a tag to {{ routes.root_url }}

Screen shot for reference routes root url setting

Hope this might be helpful what you are looking for. Try if this works.

Upvotes: 0

Related Questions