Zen Cart Logo
Forums / Addon Admin Tools / Edit Orders v4.0 Support Thread

Edit Orders v4.0 Support Thread

Views: 346,084

Results 1,741 to 1,760 of 1,927
23 Apr 2022, 11:27 AM
#1741
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Edit Orders v4.0 Support Thread

HeleneWallis:

ZC 1.57c, template fluorspar

I've looked back over a year in the posts on this thread and don't see anyone else having this problem. So I'm not sure whether it's connected to my template or what. I can change an order with Edit Orders but when I save the change, the screen does not reload. If I refresh back to the admin home page, the changes are there and everything appears to be correct, but it's necessary to do that for every change you have to make. We don't often need to make a change, but this is still irritating. Any suggestions?
Any debug logs associated with that "screen does not reload" action?

24 Apr 2022, 3:51 PM
#1742
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

Any debug logs associated with that "screen does not reload" action?

No, nothing.

24 Apr 2022, 5:27 PM
#1743
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

HeleneWallis:

No, nothing.
What's the site's setting for Configuration :: Logging :: Report All Errors (Admin)? If it's set to 'No', try setting it to 'IgnoreDups' and see if a log's generated.

26 Apr 2022, 2:13 PM
#1744
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

What's the site's setting for Configuration :: Logging :: Report All Errors (Admin)? If it's set to 'No', try setting it to 'IgnoreDups' and see if a log's generated.

Yep, that caught it. I installed the newsletter discount plugin, and that's where the problem is. Apparently it's looking to see whether this customer should have a price discount because of being a newsletter subscriber.

[26-Apr-2022 14:07:51 UTC] Request URI: /Zentest-CHAR-jasPe/index.php?cmd=edit_orders&page=1&oID=9989&action=update_order, IP address: 67.44.192.73
--> PHP Fatal error: Uncaught Error: Call to undefined function mailchimp_check() in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php:209
Stack trace:
#0 /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php(44): ot_newsletter_discount->is_subscriber()
#1 /home/newnatur/zentest/includes/classes/order_total.php(65): ot_newsletter_discount->process()
#2 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/functions/extra_functions/edit_orders_functions.php(1431): order_total->process()
#3 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/modules/edit_orders/eo_update_order_action_processing.php(453): eo_update_database_order_totals(9989)
#4 /home/newnatur/zentest/Zentest-CHAR-jasPe/edit_orders.php(84): require('/home/newnatur/...')
#5 /home/newnatur/zentest/Zentest-CHAR-jasPe/index.php(11): require('/home/newnatur/...')
#6 {main}
thrown in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php on line 209.

26 Apr 2022, 2:33 PM
#1745
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

HeleneWallis:

Yep, that caught it. I installed the newsletter discount plugin, and that's where the problem is. Apparently it's looking to see whether this customer should have a price discount because of being a newsletter subscriber.

[26-Apr-2022 14:07:51 UTC] Request URI: /Zentest-CHAR-jasPe/index.php?cmd=edit_orders&page=1&oID=9989&action=update_order, IP address: 67.44.192.73
--> PHP Fatal error: Uncaught Error: Call to undefined function mailchimp_check() in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php:209
Stack trace:
#0 /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php(44): ot_newsletter_discount->is_subscriber()
#1 /home/newnatur/zentest/includes/classes/order_total.php(65): ot_newsletter_discount->process()
#2 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/functions/extra_functions/edit_orders_functions.php(1431): order_total->process()
#3 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/modules/edit_orders/eo_update_order_action_processing.php(453): eo_update_database_order_totals(9989)
#4 /home/newnatur/zentest/Zentest-CHAR-jasPe/edit_orders.php(84): require('/home/newnatur/...')
#5 /home/newnatur/zentest/Zentest-CHAR-jasPe/index.php(11): require('/home/newnatur/...')
#6 {main}
thrown in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php on line 209.
You'll need to check with the author of that order-total to get a correction.

26 Apr 2022, 4:20 PM
#1746
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Yes, already did so.

28 Apr 2022, 2:54 PM
#1747
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

I've just submitted EO v4.6.2 for the Zen Cart moderators' review; I'll post back here when it's available for download.

This version contains changes associated with the following GitHub issues:

#212: Tax not added to order for some configuration settings.
#213: eo_add_product_to_order, correcting strict MySQL fatal error when calculations are 'auto'.
#214: Using zen_cfg_read_only as the update function for EO's current version.

29 Apr 2022, 6:06 PM
#1748
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

lat9:

I've just submitted EO v4.6.2 for the Zen Cart moderators' review; I'll post back here when it's available for download.

This version contains changes associated with the following GitHub issues:

#212: Tax not added to order for some configuration settings.
#213: eo_add_product_to_order, correcting strict MySQL fatal error when calculations are 'auto'.
#214: Using zen_cfg_read_only as the update function for EO's current version.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1513

3 Nov 2022, 3:05 PM
#1749
jrcook416 avatar

jrcook416

New Zenner

Join Date:
Jul 2012
Posts:
45
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Good morning!

Long-time user, first time poster! I am working on my upgrade to v158 and installed this plugin this morning.

[I]if (function_exists ('zen_get_tax_locations')) {
    trigger_error ('Pre-existing zen_get_tax_locations function detected.', E_USER_ERROR);
    exit ();
} else {
    function zen_get_tax_locations($store_country = -1, $store_zone = -1) {
        global $order;[/I]
        if (STORE_PRODUCT_TAX_BASIS == 'Store') {
            $GLOBALS['customer_country_id'] = STORE_COUNTRY;
            $GLOBALS['customer_zone_id'] = STORE_ZONE;
        } else {
            $_SESSION['customer_id'] = $order->customer['id'];

I am getting a fatal error since zen_get_tax_locations exists, at least in v158.
Does anyone have any thoughts for fixing the issue?

-JC

3 Nov 2022, 6:24 PM
#1750
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: Edit Orders v4.0 Support Thread

zen_get_tax_locations is in includes>functions>functions_taxes.php.

I would compare the zen_get_tax_locations in functions_taxes.php with the version in your code. If they are doing the same thing, remove the two lines

    trigger_error ('Pre-existing zen_get_tax_locations function detected.', E_USER_ERROR);
    exit ();

from your code.

If they are doing different things. The correct solution would be to write an observer to perform the content of your function, the notifier to use is 'ZEN_GET_TAX_LOCATIONS'. You can find information on writing an observer in the docs. You can then remove the whole section from your code.

8 Dec 2022, 2:00 PM
#1751
gtgeorge avatar

gtgeorge

New Zenner

Join Date:
Mar 2005
Posts:
53
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Will EO function under 1.5.8? I have installed it on our test site and get a white screen when trying to use it.
ZC 1.5.8 on PHP 7.4.3 clone a template, OPC, bootstrap, sales report, EO, sitemap-XML-4-main

[08-Dec-2022 01:52:39 UTC] Request URI:  /myadmin/index.php?cmd=edit_orders&origin=index&page=1&oID=21820&action=edit,  IP address: 67.173.197.***
#1  trigger_error() called at [/myadmin/includes/functions/extra_functions/edit_orders_functions.php:298]
#2   require(/myadmin/includes/functions/extra_functions/edit_orders_functions.php)  called at  [/myadmin/includes/init_includes/init_general_funcs.php:56]
#3  require_once(/myadmin/includes/init_includes/init_general_funcs.php) called at [/includes/autoload_func.php:40]
#4  require(/includes/autoload_func.php) called at [/myadmin/includes/application_top.php:42]
#5  require(/myadmin/includes/application_top.php) called at [/myadmin/edit_orders.php:9]
#6  require(/myadmin/edit_orders.php) called at [/myadmin/index.php:11]
--> PHP Fatal error: Pre-existing zen_get_tax_locations function  detected. in  /myadmin/includes/functions/extra_functions/edit_orders_functions.php  on line 298.
8 Dec 2022, 7:55 PM
#1752
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,689
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

1.5.8 Users please sit tight - Cindy will need to look at this when she's back in the office; the restructuring of functions in 1.5.8 has caused an issue in Edit Orders. Please disregard everything you may have read in this thread earlier today.

8 Dec 2022, 8:01 PM
#1753
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,689
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

An issue has been raised against her repo.

9 Dec 2022, 2:13 PM
#1754
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

swguy:

An issue has been raised against her repo.
Thanks for the reminder. As you all have noted, I've not yet gotten around to getting EO updated for zc158. At this time, I can't provide an ETA for the update.

9 Dec 2022, 7:25 PM
#1755
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,769
Plugin Contributions:
9

Re: Edit Orders v4.0 Support Thread

I often have to tell folks, "You can't pour coffee from an empty pot."

We have other ways to work on the orders. Take the time you need to fill your pot.

22 Dec 2022, 12:08 PM
#1756
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

I'm not certain what the 'One time charges' field is meant for. I looked for the READ ME that's mentioned in the plug-in description, hoping it would explain what that field was intended for, but I don't see that.

Can anyone tell me what that field is supposed to do? I've played with it but didn't find that it changed anything. And where is the READ ME?

22 Dec 2022, 12:39 PM
#1757
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,069
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

HeleneWallis:

I'm not certain what the 'One time charges' field is meant for. I looked for the READ ME that's mentioned in the plug-in description, hoping it would explain what that field was intended for, but I don't see that.

Can anyone tell me what that field is supposed to do? I've played with it but didn't find that it changed anything. And where is the READ ME?
That's a 'base' Zen Cart price setting, available for both the base product and for product attributes that add prices.

If, for instance, a product was priced at 10.00 with a one-time charge of 1.00 and the customer ordered 3 of the product, the product's total price in the cart would be 31.00.

23 Dec 2022, 12:09 AM
#1758
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

That's a 'base' Zen Cart price setting, available for both the base product and for product attributes that add prices.

If, for instance, a product was priced at 10.00 with a one-time charge of 1.00 and the customer ordered 3 of the product, the product's total price in the cart would be 31.00.

Thanks!

23 Dec 2022, 7:25 AM
#1759
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,689
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

Some industries have "setup fees" that are handled by the one time charge field. If you're printing a t-shirt for example, there might be a fixed set up fee that is applied only once per t-shirt order, rather than once per item.

12 Jan 2023, 12:27 AM
#1760
foghead avatar

foghead

New Zenner

Join Date:
Dec 2021
Location:
Tennessee
Posts:
43
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hello
I just installed Edit Orders 4.6.2 to Zencart V 1.5.7. I needed to change the shipping address on an existing order.
After I made the address change and clicked on Update, now when I open the order the shipping address filed is blank
and the items ordered are blank. The total of the order is still shown. How can I resolve this problem?
Thanks