Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add to cart not working at times


naveen_ea

Recommended Posts

Posted

Hello,

I have planned to change my site to dedicated SSL. So I installed SSL in my local windows system and started to test my site. Everything works fine except that when I click on add to cart from the product_info.php page, the product is not getting added to the cart at times. This does not happen always. It happens only sometimes. I tried to simulate the case when this happens but I was not able to do that. I have provided my configure.php file below

 

define('HTTP_SERVER', 'http://192.168.1.82:8080');

define('HTTPS_SERVER', 'https://192.168.1.82:4499');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '192.168.1.82');

define('HTTPS_COOKIE_DOMAIN', '192.168.1.82');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

My oscommerce is directly installed into htdocs without any subfolder.

I have searched through the forums but could not find a solution. Can you please help me

Posted

Try this and report back what happens: -

 

Browse to a category page that has a list of products ( no attributes )

 

Add a product to cart then press the continue button which will return you to the product listings.

 

Then try to add an entirely different product to cart from the same listings.

Posted

Try this and report back what happens: -

 

Browse to a category page that has a list of products ( no attributes )

 

Add a product to cart then press the continue button which will return you to the product listings.

 

Then try to add an entirely different product to cart from the same listings.

 

 

Hi,

I tried to add a product without attributes from the category page, click on continue button and add another product. The same situation occurs. I was able to add the add the product sometimes and sometimes I am not able to add the product. Also I found out that if say there exists say 2 products in the cart, and I add another product, sometimes the cart shows only 2 products and I am not able to see the 3rd product. I checked the session table and also found that the "value" column in the session table does not show the product.

  • 9 months later...
Posted

i know this has been a while but im having the EXACT same problem.

 

did you even find out the problem and a solution ?

 

it seems to be something to do with the session not being recreated properly ? im still working on it.

Archived

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

×
×
  • Create New...