Simple Continue Shopping Button
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.
Open /customer/main/cart.tpl Find: Quote:
Paste this code after the above code: Quote:
|
FANTASTIC
most useful line in x-cart history :lol: |
thanks that really helped me out.
|
Kudos to you for this mod!... how simple but how awesome!! Thanks for such a usefull piece of code modification!
|
Re: Simple Continue Shopping Button
Quote:
This is good, works fine. Do you know how to add a VIEW CART or CHECKOUT button on the page where you click ADD TO CART? I have set this up so that it just adds the product to the cart but does not redirect you anywhere, so, i would like the VIEW CART or/and CHECKOUT buttons to be on the page. Thanks |
All of that should be on all your other pages of the shopping cart. Mine is in the upper right corner. This is standard in x-cart. They are not buttons but they are links.
|
Quote:
This is true...... but .... it looks good to have them as buttons aswell. |
Well maybe someone else can help you. It took me 1/2 the day just to figure out the Continue Shopping button! :lol:
|
Quote:
lol, some days it all seams so easy, other days i just get brain mash. Thanks anyway. :D |
Re: Simple Continue Shopping Button
Or for better button layout insert the following:
<TR> <TD colspan="2"> </TD> </TR> <TR> <TD> </TD> <TD align="right"> {include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"} </TD> </TR> right after: <TD align="right"> {include file="buttons/button.tpl" button_title=$lng.lbl_checkout style="button" href="cart.php?mode=checkout"} </TD> </TR> |
Re: Simple Continue Shopping Button
Quote:
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"} 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`"} Paste this after the above code: Code:
{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"} Remember to always back-up your files before changing any code! Thanks Again Herb |
All times are GMT -8. The time now is 02:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.