View Single Post
Old 03-30-2007, 10:18 AM
  herbj's Avatar 
herbj herbj is offline

Advanced Member
Join Date: Feb 2007
Location: Florida
Posts: 62

Default Re: Simple Continue Shopping Button

Originally Posted by 2coolbaby
This is the mod for a simple Continue Shopping button in your cart. It returns the customer to the home page. There is another topic for those wanting much more control, but it seemed over complicated and troublesome. This is all I needed and I am sure others felt the same.

This does the Job nicely. Thanks for your efforts to get what should be standard out of the box, implimented. If you want to move the button down just a little you can add a "<BR>" tag like this:

{include file="buttons/button.tpl" button_title=$lng.lbl_checkout style="button" href="cart.php?mode=checkout"} <BR> {include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"}

This worked for me!

I also added the button right under the "Delete Item" button under the product.
This way the customer does not have to scroll down to see the "Continue Shopping" button by the "Check Out" Button.

Find in customer/main/cart.tpl:
{include file="buttons/delete_item.tpl" href="cart.php?mode=delete&productindex=`$products[product].cartid`"}&nbsp;&nbsp;

Paste this after the above code:
{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"}
It copies into each product added but I can live with that!
Remember to always back-up your files before changing any code!

Thanks Again
Reply With Quote