How do I add a “Continue Shopping” button to my Shopping Cart page?
To add a “Continue Shopping” button to your sites Shopping Cart page, you’ll need to edit your template.
Add the javascript below to your template:
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery("#ctl00_Content_Cart1_btnUpdate").before('<input id="KeepShopping" class="button" type="button" value="Continue Shopping" onclick="window.location=\'Default.aspx\'" />');
});
</script>
This javascript points the Continue Shopping button to the Home page.
If you would like point to a different page, change the Default.aspx to the specific page URL.
You can find page URL’s by going to /Manage Content/Edit Content – selecting that page and copying the page URL.
Add the javascript below to your template:
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery("#ctl00_Content_Cart1_btnUpdate").before('<input id="KeepShopping" class="button" type="button" value="Continue Shopping" onclick="window.location=\'Default.aspx\'" />');
});
</script>
This javascript points the Continue Shopping button to the Home page.
If you would like point to a different page, change the Default.aspx to the specific page URL.
You can find page URL’s by going to /Manage Content/Edit Content – selecting that page and copying the page URL.