♥yesudo Posted February 2, 2004 Share Posted February 2, 2004 Hello, I am trying to find the file/code where an order is deducted from stock. any ideas? thanx very much. Your online success is Paramount. Link to comment Share on other sites More sharing options...
OceanRanch Posted February 2, 2004 Share Posted February 2, 2004 Look in catalog/check_out_process.php around line 150 tep_db_query("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); HTH Tom Link to comment Share on other sites More sharing options...
♥yesudo Posted February 2, 2004 Author Share Posted February 2, 2004 Look in catalog/check_out_process.php around line 150 tep_db_query("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); HTH Tom i'll try that thanx very much. Your online success is Paramount. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.