im installing the SO 2.0,, and i am in the 7th point,, --->
Open includes/classes/order.php, then find this line:
$insert_id = $db->Insert_ID();
Immediately after it, add the following code:
// BEGIN Super Orders edit
// add CC data as a line item to SO payment system
if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number'])) {
require(DIR_WS_CLASSES . 'super_order.php');
$so = new super_order($insert_id);
$so->cc_line_item();
}
// END
Super Orders edit
The comments will ensure you know what this is for the next time you need to upgrade.
i can't find this line: $insert_id = $db->Insert_ID();
what to do with this now?
can anybody help?
regards
Bookmarks