user0001 Posted March 23, 2006 Posted March 23, 2006 Hi there! After three hours trying to know it, I think I need help. In order.php we can read next code: $orders_products_query = tep_db_query("select orders_products_id, products_id, products_name, products_model, products_price, products_tax, products_quantity, final_price from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$order_id . "'"); But I don't find where this information is written in TABLE_ORDERS_PRODUCTS, when it is written? This information is necessary in checkout_process.php: $sql_data_array = array('orders_id' => $insert_id, 'products_id' => tep_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_quantity' => $order->products[$i]['qty']); tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); But these $order is get in order.php where TABLE_ORDERS_PRODUCTS don't have information, isn't it? I don't understand... Please, help me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.