homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

OK in chrome and firefox, error in IE
your cart is empty error

 2:55 pm on Sep 8, 2010 (gmt 0)

I have recently written (or should I say written for me)a very simple shopping cart.It's a very basic shopping cart written in javascript and PHP. We are only selling various amounts of one item with differing postal costs. It works just fine in Chrome and Firefox but comes up with an error message in Internet explorer, i.e. 'your cart is empty' when going to pay via Paypal.

Anyone experienced this error before or have any idea what the problem may be?

Thanks for your response.



 4:39 pm on Sep 8, 2010 (gmt 0)

Well, you are way into specifics here. Basically - sounds like a javascript problem with the browser not remembering the shopping cart values. Run with the script error console on in your browser and look for problems.


 10:22 pm on Sep 8, 2010 (gmt 0)

I just had to post and say "of course" to your title. You would need to get way more specific to get any real help. Can you post the script?


 3:00 pm on Sep 9, 2010 (gmt 0)

Also it is worth mentioning that is is very unlikely to be a problem caused by PHP as this is a server side language and runs independently of the browser, so as Brett says check your Javascript. Also, while we are on the subject of Javascript - you say the cart is "written in javascript and PHP" - remember that Javascript can be disabled in the browser so you need to ensure that the cart gracefully degrades if Javascript gets disabled.


 6:55 pm on Sep 9, 2010 (gmt 0)

Mods please splice these threads [webmasterworld.com]

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved