Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Simple Continue Shopping Button
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #11  
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

Quote:
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:

Code:
{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:
Code:
{include file="buttons/delete_item.tpl" href="cart.php?mode=delete&productindex=`$products[product].cartid`"}&nbsp;&nbsp;

Paste this after the above code:
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
Herb
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:16 AM.

   

 
X-Cart forums © 2001-2018