Magento Continue Shopping Button

The following will ensure that when the continue shopping button is pushed whatever page you have currently been on it will just take you back one page

<button type=”button” title=”<?php echo $this->__(‘Continue Shopping’) ?>” class=”button btn-continue” onclick=”history.go(-1); return false;”><span><span><?php echo $this->__(‘Continue Shopping’) ?></span></span></button>

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.