Re: Super Orders 2.0
Hey Blindside,
Okay, I verified I had installed rev45. I redownloaded the latest version from this site and went through each file, verifying that the modified dates were the same. They are. Plus, this snippet I got when running the upgrade file is in the latest version of the super_upgrade.php.
I got a little thrown by the idea it was an older version, because I can't find any mention of this installation step in the README or anywhere else. If this was just a mistake, no problem -- just let me know because I'm waiting to try to find the right place in that file to add the snippet.
I'm being cautious as I can too easily create bugs by doing things I don't understand.
I include our previous posts on this subject so you know what I'm talking about. :) And, thanks for being so thorough by responding to everyone's issues!

Originally Posted by
BlindSide
The line numbers likely changed in newer versions since I wrote that text, however the code block you quoted is from an older version. Are you sure you have the latest one from the download section of the site? Double-check, and then read through the readme, as this installation step is described there as well.

Originally Posted by
magicpants
I searched through and couldn't find a mention of this:
When I run the upgrade file, I get a message at the bottom saying:
Code:
Add the CC code to /includes/modules/pages/checkout_success/header_php.php, Line 97:
//SO_EDIT_START
// Add the CC payment to the Super Orders payment system
$cc_insert = $db->Execute("select cc_type, cc_owner, cc_number, cc_expires, cc_cvv, date_purchased, order_total from " . TABLE_ORDERS . " where orders_id = '" . $zv_orders_id . "' limit 1");
if (zen_not_null($cc_insert->fields['cc_number'])) {
$new_cc_payment = array('orders_id' => $zv_orders_id,
'payment_number' => $cc_data->fields['cc_number'],
'payment_name' => $cc_data->fields['cc_owner'],
'payment_amount' => $cc_data->fields['order_total'],
'payment_type' => $cc_data->fields['cc_type'],
'date_posted' => $cc_data->fields['date_purchased'],
'last_modified' => $cc_data->fields['date_purchased']);
zen_db_perform(TABLE_SO_PAYMENTS, $new_cc_payment);
}
//SO_EDIT_END
But, line 97 is a bit vague. It ends up being added in the middle of a bit about gift vouchers! I didnt see this edit explained anywhere in the readme file.
Could you offer some clarification please? Great mod though, and nice improvements from the previous version!
Currently using ZEN CART v. 1.3.6
Bookmarks