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> |
All times are GMT -8. The time now is 04:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.