Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

products_ordered not updating


fissssssi

Recommended Posts

Solved my last problem - a problem in a customised order_confirmation.php that was stopping the order totals updating when an order was placed.

 

 

Now I've found a new one. When an order is placed, products_ordered in the products table isn't being updated. The only place I can see that this is needed is the best_sellers box, but that's something my client wants to use and also I don't want to run into any other related problems once the store's live.

 

 

Can anyone suggest where to look to find this? It's not the order_confirmation.php because I tried using the original one from the downloaded osCommerce package and it still didn't update this field.

 

 

All suggestions gratefully received!

 

 

Regards,

 

 

 

Adam

Link to comment
Share on other sites

Solved my last problem - a problem in a customised order_confirmation.php that was stopping the order totals updating when an order was placed.

 

 

Now I've found a new one. When an order is placed, products_ordered in the products table isn't being updated. The only place I can see that this is needed is the best_sellers box, but that's something my client wants to use and also I don't want to run into any other related problems once the store's live.

 

 

Can anyone suggest where to look to find this? It's not the order_confirmation.php because I tried using the original one from the downloaded osCommerce package and it still didn't update this field.

 

 

All suggestions gratefully received!

 

 

Regards,

 

 

 

Adam

 

 

Under admin -> configuration -> stock = set "subtract stock" to TRUE

Link to comment
Share on other sites

Thanks for that. Unfortunately it's already set to true, so I think I may have accidentally wiped out or modified the code in whatever file carries out that process. Any ideas which file I should be looking at?

 

 

 

Cheers,

 

 

 

 

Adam

Link to comment
Share on other sites

Thanks for that. Unfortunately it's already set to true, so I think I may have accidentally wiped out or modified the code in whatever file carries out that process. Any ideas which file I should be looking at?

 

 

 

Cheers,

 

 

Adam

 

No I don't... sorry.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...