The Continue Shopping buttons in Ecwid are designed to allow your customers to return to the products catalog from non-catalog pages of your store (bag page, search, checkout) and to continue exploring and buying your products. The buttons work this way:
- If customer adds a product to the bag and then clicks the Continue Shopping button, he is redirected to the category that the added product belongs to;
- If customer opens the bag without adding products to it and then clicks the Continue Shopping button, he is redirected to the last visited category (or to the root 'store' category if he didn't visit any category before clicking the button).
You may want to change this behavior, for example, to always redirect your customers to the main store page upon clicking 'Continue shopping'. There are two ways to achieve this:
1) Use the "Custom URL for ‘Continue Shopping’ Buttons" app from Ecwid App Market.
"Custom URL for ‘Continue Shopping’ Buttons" App
Custom URL for ‘Continue Shopping’ Buttons App allows to set the URL you want to direct your Continue shopping buttons to right within your Ecwid control panel. It is a fast an easy way that does not require any coding. The app is free for all paid Ecwid users.
You can get the app under this link: Get the App
To create a custom redirect for Continue shopping buttons, you can use this code. Add it to the source code of your site page where Ecwid store is added.
This code will redirect Continue Shopping button to the main store page. If you want a redirect to another page, simply change the 'continueShoppingRedirect' value to any URL you want.
You should insert the code above into the source code of the site page, where you have Ecwid widgets, following the Ecwid integration codes. Exact instructions depend on what platform you are using on your site. If you need help, please contact our support team on the forum.
Read more about changing Continue shopping button here: How to change Continue Shopping buttons
Make sure you use improved storefront buttons. See what they look like and how to enable them here: Improved appearance of storefront buttons