Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Add to Cart and Buy Now buttons not working


Recommended Posts

I did an install of osCommerce using the Plesk application vault. Everything works just fine, except for the "Add to Cart" and "Buy Now" buttons. I can't seem to make the buttons add an item to the cart - you click Buy Now and you are taken to the shopping cart page, but it just says that your cart is empty! It was like this BEFORE I tried modifying the look of the store or anything. Is this common? I have seen a few other posts from years past with the same problem, but no one ever posts their solution! HELP!!!!

Link to comment
Share on other sites

OK, I found the answer in the Bug Reports section and my Add to Cart and Buy Now buttons work! YAY!


For anyone in the near or distant future who encounters this same problem, I found the answer here: http://www.oscommerce.com/community/bugs,1...tus,open/page,7


I followed the advice to put the following lines into the .htaccess file and load it into the oscommerce directory:


php_value session.use_trans_sid 0

php_value register_globals 1


Now I can sleep tonight. :thumbsup:

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...