X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Simple Continue Shopping Button (https://forum.x-cart.com/showthread.php?t=19795)

herbj 03-30-2007 10:18 AM

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. :D 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


All times are GMT -8. The time now is 01:30 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.