Re: Edit Orders v4.0 Support Thread
Hi All,
Zencart 1.58a with 8.1php and edit orders 4.7.1
I am getting this warning log message:
[26-Oct-2024 01:51:57 Australia/Sydney] Request URI: /admin/index.php?cmd=edit_orders&page=1&oID=25994&action=edit, IP address: 173.245.209.20, Language id 1
#0 /home/xxxx/outdoorking.com.au/admin/includes/modules/edit_orders/eo_edit_action_osh_table_display.php(161): zen_debug_error_handler()
#1 /home/xxxx/outdoorking.com.au/admin/includes/modules/edit_orders/eo_edit_action_display.php(581): require('/home/xxxx...')
#2 /home/xxxx/outdoorking.com.au/admin/edit_orders.php(169): require('/home/xxxx...')
#3 /home/xxxx/outdoorking.com.au/admin/index.php(11): require('/home/xxxx...')
--> PHP Warning: Undefined array key 6 in /home/xxxx/outdoorking.com.au/admin/includes/modules/edit_orders/eo_edit_action_osh_table_display.php on line 161.
Can anyone point me in the right direction on how to fix the issue to stop coming up in the logs.
Re: Edit Orders v4.0 Support Thread
Order 25994 has at least one status-history record that identifies an orders-status id of '6' which, for whatever reason, does not exist in the site's Localization :: Orders Status.
The best I can offer at this time is to stop trying to edit that order.
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
lat9
Order 25994 has at least one status-history record that identifies an orders-status id of '6' which, for whatever reason, does not exist in the site's Localization :: Orders Status.
The best I can offer at this time is to stop trying to edit that order.
Doesn't viewing that same order under the built-in Customers :: Orders exhibit the same problem, i.e. a log generated due to a no-long-present status-history definition?
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
lat9
Doesn't viewing that same order under the built-in Customers :: Orders exhibit the same problem, i.e. a log generated due to a no-long-present status-history definition?
Ok when checking I found a reference to Super Orders would that be causing the issue with edit orders.
Here is what the reference says in admin/invoice.php file on live site:
// BEGIN Super Orders edit
// add CC data as a line item to SO payment system
if (isset($this->info['cc_type']) && zen_not_null($this->info['cc_type']) || isset($this->info['cc_owner']) && zen_not_null($this->info['cc_owner']) || isset($this->info['cc_number']) && 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
On the dev site it has this reference the same file:
// 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
Should that be delete out of the file on the live site?
Re: Edit Orders v4.0 Support Thread
Changes to the invoice aren't going to affect EO. Would you please answer the question that I'd asked:
Quote:
Doesn't viewing that same order under the built-in Customers :: Orders exhibit the same problem, i.e. a log generated due to a no-long-present status-history definition?
Re: Edit Orders v4.0 Support Thread
Hi all, just recently installed EO 4.7.1 on my site and having some issues with sales tax displaying when items are added/removed from an order.
Example: 1 item order
Sub-Total: $0.25
Ground AdvantageŽ (3 - 5 days): $4.95
CA State Sales Tax (7.25%): $0.02
Total: $5.22
Used EO to add second item, also taxable:
Sub-Total: $1.00
Ground AdvantageŽ (3 - 5 days): 4.9500
Total: $6.02
The tax line is removed from the order. Tax is still calculated correctly in the total, but no longer displays in admin OR on customer order history page. Did I missing something here?
I tried installing with and without the optional overrides without any change in result. Anyone able to point me in the right direction? Thank you.
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
mcqueeneycoins
Hi all, just recently installed EO 4.7.1 on my site and having some issues with sales tax displaying when items are added/removed from an order.
Example: 1 item order
Sub-Total: $0.25
Ground AdvantageŽ (3 - 5 days): $4.95
CA State Sales Tax (7.25%): $0.02
Total: $5.22
Used EO to add second item, also taxable:
Sub-Total: $1.00
Ground AdvantageŽ (3 - 5 days): 4.9500
Total: $6.02
The tax line is removed from the order. Tax is still calculated correctly in the total, but no longer displays in admin OR on customer order history page. Did I missing something here?
I tried installing with and without the optional overrides without any change in result. Anyone able to point me in the right direction? Thank you.
Try ticking the "Reset totals prior to update" box.
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
lat9
Try ticking the "Reset totals prior to update" box.
Tried both checked and unchecked and same result. Tax line disappears completely when adding a product.
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
mcqueeneycoins
Tried both checked and unchecked and same result. Tax line disappears completely when adding a product.
May I make a suggestion? Do you use new 2.1.0 version of Zen-Cart ?
It seems, there are some issues with loading language files using new ResourceLoaders there
(only suggestion!! I have not had time to investigate further)
Re: Edit Orders v4.0 Support Thread
Quote:
Originally Posted by
yesaul
May I make a suggestion? Do you use new 2.1.0 version of Zen-Cart ?
It seems, there are some issues with loading language files using new ResourceLoaders there
(only suggestion!! I have not had time to investigate further)
No, I'm using 1.5.8a