Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Back button goes back... way too far!


Recommended Posts

Having issue with back button 2.3.1 store. clicking button should take viewer back to previous page, but takes a trip all the way back to the catalog/home page.


The code I have from product_listing.php:



<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_BACK, 'triangle-1-w', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode'])); } ?>



Has to be something I don't understand, any suggestions?


Thanks a bunch,


Timmy C

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...