Permalink
Browse files

Add continue shopping button into shopping_cart page

  • Loading branch information...
1 parent 09aabd0 commit f589275245ff1cbeb7a0e72e01904de76487ef2b @gburton committed Sep 7, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 catalog/shopping_cart.php
@@ -132,6 +132,14 @@
<div class="buttonSet">
<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary'); ?></span>
+
+ <?php
+ $back = sizeof($navigation->path)-2;
+ if (isset($navigation->path[$back])) {
+ echo tep_draw_button(IMAGE_BUTTON_CONTINUE_SHOPPING, 'triangle-1-w', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']));
+ }
+ ?>
+
</div>
<?php

0 comments on commit f589275

Please sign in to comment.