How do I make the Continue Shopping button go to the last page?

PLEASE NOTE: This snippet will ONLY work if you have the Add To Cart action set to “Stay on same page".  This setting can be located in the Main tab in the Cart66 Cloud settings in WordPress admin as seen below.

<script type="text/javascript">(function($){$(document).ready(function(){$("#continue-shopping").attr('href','javascript:history.go(-1);');})})(jQuery);</script>

To use this snippet:
Simply add this to your WordPress theme before the closing body tag (</body>) and reslurp it. Or you can add it in the HTML Editor in your Cloud Dashboard.

Here is where you can find it in your Cloud Dashboard:

Still need help? Contact Us Contact Us