Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to modify "back to shopping" destination url

How to modify "back to shopping" destination url

Locked

Started by sfutterer on 11 Aug 2007, 3:04 PM · Views: 954

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Aug 2007, 3:04 PM
#1
sfutterer avatar

sfutterer

New Zenner

Join Date:
Aug 2007
Posts:
3
Plugin Contributions:
0

Post #1 by sfutterer

I would like to know which I file and line I edit to change the destination url for the back to shopping button. For example the default takes a visitor to index.php?main_page=product_free_shipping_info&products_id=10.

I would like to change that to an .html page that I define. Any help is appreciated.

11 Aug 2007, 3:37 PM
#2
sfutterer avatar

sfutterer

New Zenner

Join Date:
Aug 2007
Posts:
3
Plugin Contributions:
0

Post #2 by sfutterer

I believe I have to edit this line in the tpl_shopping_cart_default.php file (line 133)

<div class="buttonRow back"><**?php echo zen_back_link()** . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>

to redirect the button, but I am not sure how to add the proper language, such as <a href=http://www.websitename.com>

12 Aug 2007, 5:08 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

Just replace it with the A HREF link you want it to go to.

ie:

<div class="buttonRow back"><a href="blahblah"><?php echo zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPI ....

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.