Re: Super Orders v3.0 Support Thread
So, i made a few changes to super_invoice.php and now all non empty comments (including admin comments) are included in the invoice. The code is as follows:
// Find any comments entered at checkout
// and display on invoice if they exist
$orders_history = $db->Execute("SELECT orders_status_id, date_added, customer_notified, comments
FROM " . TABLE_ORDERS_STATUS_HISTORY . "
WHERE orders_id = '" . $oID . "'
ORDER BY date_added");
while (!$orders_history ->EOF) {
// check if note is empty, if yes, then skip it
if ($orders_history->fields['comments'] != '') {
$display_notes[] = $orders_history->fields['comments'];
}
$orders_history->MoveNext();
}
In particular the while loop is included to find all non empty comments.
and then at the bottom these are displayed:
<?php if (count($display_notes)>0) {?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
</tr>
<tr>
<td class="main" colspan="2"><strong><?php echo HEADER_CUSTOMER_NOTES; ?></strong></td>
</tr>
<?php for($i=0; $i<count($display_notes);$i++) { ?>
<tr>
<td class="main" colspan="2"><?php echo $display_notes[$i]; ?></td>
</tr>
<?php } ?>
<?php } ?>
</table>
Re: Super Orders v3.0 Support Thread
The code so that Super Orders automatically creates a Super Order payment record for PayPal paid orders is already done.. The to do list you refer to lists the items that as of today remain outstanding.. I only explicitly listed the items that are not done yet..
As for a timeframe.. I have been dealing with a personal health issue and so I work on this when time and health permit.. Best I can say at this point is I hope to be done and have this submitted by the eny of this year..
Quote:
Originally Posted by
ideasgirl
Hi Diva,
I've been searching for more than an hour the thread trying to find something to fix the "Balance Due" issue and haven't. I saw your post
http://www.zen-cart.com/forum/showpo...&postcount=266 where you mentioned it was going to be fixed on next release but there's not "fast fix" for those that don't want to wait for it :blush: (not me of course).
I saw your list for next release "Things to do" and don't see it there so I was wondering... :unsure:
If there's anything I can help with from that list is on any language translation to Spanish, so let me know if I can give a hand on that.
Re: Super Orders v3.0 Support Thread
I had installed Edit Orders module which seemed to be working just fine and then I installed Super Orders and I got this message after submitting the SQL query for Super Orders.
1054 Unknown column 'date_cancelled' in 'field list'
in:
[SELECT date_cancelled, date_completed FROM orders WHERE orders_id = 2 AND (date_cancelled IS NOT NULL OR date_completed IS NOT NULL)]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
And when I go into the Customer's Order or Super Orders the order details are gone.
Re: Super Orders v3.0 Support Thread
Hi All!
I installed super orders v3 and then installed edit orders v3.03. All seems to work okay but when you click on the edit order button it comes up with the following error message:
The requested URL /admin/FILENAME_EDIT_ORDERS.php was not found on this server.
I can confirm that the file is in place but will not display.
Please help!
Re: Super Orders v3.0 Support Thread
Can anyone help get this working with reward points like edit orders does?
Re: Super Orders v3.0 Support Thread
Ardgouge, your post looks confusing:
- 'admin' shouldn't be used as a directory name to your admin area
- FILENAME_EDIT_ORDERS is a macro, not the actual filename
actually on my system:
Code:
define('FILENAME_ORDER_EDIT', 'edit_orders.php');
the macro FILENAME_ORDER_EDIT is defined in ADMIN/includes/extra_configures/edit_orders.php, to point to the actual file in the ADMIN folder.
So I can't say that I see anything wrong, but perhaps there's some confusion on how this is set up? I'm assuming you went through the instructions in SO3 on the installation for edit orders...
Re: Super Orders v3.0 Support Thread
Thanks for the reply, I actually hadn't copied the file into the extra_config folder - have done now and suprise suprise, it works!
Re: Super Orders v3.0 Support Thread
Well, I thought it was working...
I can now click on the edit order button and the edit screen appears. However, if I edit the order then click either of the update buttons I get the message again (FILENAME_ORDER_EDIT.php was not found on this server.)
Do you think I should take the hit and just reinstall the add ons (super orders and edit order) again?
Re: Super Orders v3.0 Support Thread
Just got everything installed and functioning nicely. I noticed there is a vital piece missing to the super order list page, I don't see the customer comments column as I have on my regular orders page with 1.3.9h installed. I've searched this thread and I'm surprised no one else has mentioned this. Any ideas?
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
ardgouge
Well, I thought it was working...
I can now click on the edit order button and the edit screen appears. However, if I edit the order then click either of the update buttons I get the message again (FILENAME_ORDER_EDIT.php was not found on this server.)
Do you think I should take the hit and just reinstall the add ons (super orders and edit order) again?
Try re-uploading all files again. Sometimes one or more of them can get corrupted on upload.