How can I redirect the link for "Continue Shopping" so it goes back to the main page (index I believe?) of my store?
This seems basic but I can't seem to find an answer.
How can I redirect the link for "Continue Shopping" so it goes back to the main page (index I believe?) of my store?
This seems basic but I can't seem to find an answer.
Change the button on the Template for shopping_cart so that the link matches what is in the header or footer for the Home link ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I thought I found it but I must have the syntax wrong. Could you/someone please correct this for me?
This is what I changed in the tpl_shopping_cart_default.........
<!--bof shopping cart buttons-->
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
<div class="buttonRow back"><?php echo '<a href='".HTTP_SERVER.DIR_WS_CATALOG."'() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
Never mind. Thought I had it but I still don't.
Last edited by Stormshade; 30 Jul 2007 at 03:55 AM.
Still wrong but here's the latest attempt. I know I'm probably way off.
<div class="buttonRow back"><?php echo '<a href='".HTTP_SERVER.DIR_WS_CATALOG. "'> .
zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
Perhaps this would work better ...
PHP Code:<?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?>
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Jedi Ajeh!!!!!
To the rescue once again.
You are my hero.
Works perfectly. Thank you
Not a problem ... glad you could get that working ...
NOTE: and you did, of course, use your templates and overrides for that change ... right?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
AcK! Not sure. I just know I changed the one file and it seems to be working. Unless I'm missing something.
What other files should I be changing? other than the tpl_shopping_cart_default.php
I've actually just been going into the classic templates and adjusting that to my needs.
Ok, I hope I said something relevant there.![]()
I think I need a lesson in overrides. Hadn't bothered to look into it.![]()