in the file "catalog/model/checkout/order.php"
I changed the insert query of "function addOrder($data)" to (added , test_column='foo'):
Code: Select all
INSERT INTO " . DB_PREFIX . "order_product SET order_id = '" . (int)$order_id . "', product_id = '" . (int)$product['product_id'] . "', name = '" . $this->db->escape($product['name']) . "', model = '" . $this->db->escape($product['model']) . "', quantity = '" . (int)$product['quantity'] . "', price = '" . (float)$product['price'] . "', total = '" . (float)$product['total'] . "', tax = '" . (float)$product['tax'] . "', reward = '" . (int)$product['reward'] . "', test_column='foo'
Of course I triple checked for the same name and variables, created the "test_column" as text type (just for now), cleared cache and I can see that in the "vqcache" folder the file "vq2-system_storage_modification_catalog_model_checkout_order.php" has taken the above change. Also tried both with a vqmod and simply editing the core file with no result.
What am I missing?