After clicking Add To Cart the shopping is still empty
Hi,
I've created an add to cart button and it seems to populate the cookies, however when I redirect to the cart, it is always empty. Any help or ideas would be very welcome.
Thanks,
Paul.
Hi,
I've created an add to cart button and it seems to populate the cookies, however when I redirect to the cart, it is always empty. Any help or ideas would be very welcome.
Thanks,
Paul.
To shed a little more light on it, I have got the cart to work now, but only if I disable the RedirectAfter....
What is your server language? what version of eCart?
Sorry Ray, I should have thought of that. It's PHP version 4.1.5 of eCart in Dreamweaver CS4.
What php version? is it a linux or windows server?
You may need to add session_commit() before the redirect in some cases I seem to recall this from earlier versions of php on linux servers... you might want to give it a try and see if that fixes it.
Thank Ray. That's done it! FYI it's a windows server running PHP version 5.0.2.
Thanks again!
Sorry Ray, spoke too soon. The button now redirects, but doesn't add anything to the cart.
Please post a support incident. We will have an engineer debug this with you to determine the problem and solution. I'm stumped.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.