tentler Posted June 8, 2010 Posted June 8, 2010 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
jonasgrumby Posted June 10, 2010 Posted June 10, 2010 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.
tentler Posted June 10, 2010 Author Posted June 10, 2010 So in the href=part I would enter the page link that I want it to go to inplace of the word part?
jonasgrumby Posted June 10, 2010 Posted June 10, 2010 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']) . '
tentler Posted June 10, 2010 Author Posted June 10, 2010 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.