| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Continue Shopping | ||||
|
|
Thread Tools | Search this Thread |
#71
|
|||||||
|
|||||||
Re: Continue Shopping
I'm FUBARing my site every time I try to get this config.php file to accept this code. I've had comments from test users that returning to the cart/home page is frustrating, and frustrating = no sales.
I've done some searching and discovered that $HTTP_GET_VARS has been deprecated for $_GET...so I've replaced that in the following code: Code:
And it still gives me the blank page of death. Is there some kind of compiling going on or am I placing this in the wrong section of config.php? Help, please! ps - replying to myself is sad. really sad.
__________________
X-Cart Version: 4.15 (in development) |
|||||||
#72
|
|||||||
|
|||||||
Re: Continue Shopping
using xgards code I was getting the same result when I added the code to config.php
Working on a new 4.1.5 site and found that if put the code into init.php instead all was well (at least so far).
__________________
xcart 4.0.14 |
|||||||
#73
|
|||||||
|
|||||||
Re: Continue Shopping
thanks vaughan! I finally had a chance to implement your suggestion and it seems to be working on 4.15. I appreciate the help!
__________________
X-Cart Version: 4.15 (in development) |
|||||||
#74
|
|||||||
|
|||||||
Re: Continue Shopping
Quote:
I don't understand why you wouldn't want to have the "continue shopping" button appearing in that case - as the customer would want to see it (at least, I would). I don't see why they wouldn't want to be able to continue shopping just because they got to the cart page from the home page, using the 'View cart' link in minicart. While we're on the subject of the 'continue shopping' button, has anybody else found Amazon's shopping cart to be a nightmare? Say I add one item to the cart and then click on the 'Checkout' button - the next page gives you no option other than to continue with the Checkout process, you can't add any other items to the cart without having to use the back button, there isn't even a link to the Amazon home page or any other Amazon pages on their Checkout page! (At least, this is what's been happening to me).
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#75
|
|||||||
|
|||||||
Re: Continue Shopping
Quote:
Can anyone tell me where the problem lies in the code? I'd like it to redirect back to the category or the home page would be fine too. Thanks, Karen
__________________
Karen X-cart 4.4 New Orleans, LA |
|||||||
#76
|
|||||||
|
|||||||
Re: Continue Shopping
All I can offer is the code that I have in my cart.tpl, bear in mind I have 4.1, but I don't think it should make any difference.
<td> {include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping href="javascript: history.go(-1);" style="button" js_to_href="Y"}</td>
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#77
|
|||||||
|
|||||||
Re: Continue Shopping
Thanks, that worked great!
Karen
__________________
Karen X-cart 4.4 New Orleans, LA |
|||||||
#78
|
|||||||
|
|||||||
Re: Continue Shopping
I'm using the code below, but I'm having one little problem - the cart page always takes me back to the category and never to the product detail page. I replaced $HTTP_GET_VARS with $_GET and put that part in the init.php instead of config.php. Any ideas?
Quote:
__________________
X-Cart Pro 4.1.5 |
|||||||
#79
|
|||||||
|
|||||||
Re: Continue Shopping
Quote:
Hello, I tried adding the code to boh config.php and init.php and I got a blank page. finally, I added the code to /include/sessions.php and it worked ! I am using version 4.1.6 This is a great modification, thank you
__________________
4.1.12 +AOM +SPECIAL OFFERS +FB +JANRAIN |
|||||||
|
|||
X-Cart forums © 2001-2020
|