Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing Back Button Path


Andge

Recommended Posts

Hi,

 

I saw how to add a back button to your product pages here:http://www.oscommerce.info/kb/osCommerce/Tips_and_Tricks/59

 

but for a page that I created, like an extra information page, the back button points back to the main page as apposed to the page which was being viewed before. How do I make it go back to the previous page?

 

The code I use is this: <a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=' . $cPath); ?>"><?php echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a></td>

 

Tell me where to put in my info

 

Thanks

Andrew.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...