Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After order confirmation: Products attributes missing


Bran

Recommended Posts

Posted

Hi there

 

I have an installation of osC 2.2 MS2 with lots of contribs like SPPC, QPBPB for SPPC, Master Products, Option Type Feature etc.

 

Now, if a customer places an order, everythings is fine. He can choose his desired attributes for every product he wants to buy, put it into his shopping cart and go through the checkout process without problems. The products in his shopping cart and the product listing in the last step of the checkout process, before the "order now" button has to be pressed, do contain every attribute the customer has chosen before for his products.

 

But after the customer has finally placed his order, at random occassion (at least it seems so...), some, all or none of the products are missing their attributes. They're not empty (e.g. stored into the table orders_products_attributes with empty values) but not stored their at all. That means, if I receive an order where all the products seem to have been submitted without any attributes, the table orders_products_attributes contains not a single attribute for that order number - they're simply not there, lost. But the customers are pretty sure, that they have chosen attributes for their products and that these attributes have been listed correctly at every page. All of them tell the same story, everything goes fine, from chosing products to checking out, but the confirmation mail is missing the attributes sometimes. It's not customer or product dependent, since it can happen for a customer / product where it has not happened before.

 

Even worse, the problem is not reproducible on my local shop-copy at home. When I place orders there, they are complete. No problems at all (placed about 20 orders in a row, with different products aso.). For 20 orders placed in my online shop by customers, at least 8 of them are faulty.

 

My guess is, it has to do something with session management. Since I'm not able to reproduce the error at home, it's quite possible that the error only occurs when there are multiple customers at the same time purchasing stuff. I've read at several places that the stock osC has problems like customers are able to view other customers account information, shopping carts etc., that's why I guess it could be possibly related to the same kind of problem.

 

Or the problem must be something that's different from my environment at home. The files are the same though, did a database backup from the shop, copied the whole shop onto my local machine and installed the backed up data into the local database, so, the files and data are the same.

 

Any suggestions? I'm really stuck, since I'm not even able to reproduce the error... :(

 

 

Greetz

 

Bran

Posted

It's probably has to do with how the contributions were integrated or bug in one of them. From your description you need to debug the code that stores the order during checkout and see what contributions/extra code manipulates the product attributes.

 

The default osc handles sessions reliably and most of the questions are due to incorrect settings in the configure.php file or with the session controls in the osc admin.

Archived

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

×
×
  • Create New...