Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Continue shopping button in shoping cart- change link


tentler

Recommended Posts

Posted

does anyone know how to change the "continue shopping button" link to go back to the catalog page. Mine goes back one level so it doesn't show all the products for selection only the single product the customer jsut selected. I need it to go up one more level but can not locate the point in the code that directs that button.

I appreciate the help.

Terri

Posted

In catalog/shopping_cart.php look around line 198 for:

 

<?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?>

 

You would have to edit the href= part.

Posted

So in the href=part I would enter the page link that I want it to go to inplace of the word part?

Posted

If you want them to always go to the same page, just replace the code below (i.e. everything between the double quotes) with your URL. Remember to back up your old file first in case something goes wrong, remember to upload the modified file in ASCII mode, and be sure to upload it to the correct folder.

 

 ' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '

Posted

If you want them to always go to the same page, just replace the code below (i.e. everything between the double quotes) with your URL. Remember to back up your old file first in case something goes wrong, remember to upload the modified file in ASCII mode, and be sure to upload it to the correct folder.

 

 ' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '

 

 

Thanks

Archived

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

×
×
  • Create New...