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

Edit Orders v4.0 Support Thread

Views: 346,084

Results 1,861 to 1,880 of 1,927
14 Mar 2025, 1:24 AM
#1861
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Edit Orders v4.0 Support Thread

ZC 2.1
PHP 8.3
customer_tax_exempt_2.0.2
edit_orders-5.0.0
sitemapxml-4.0.3
usps-USPS_2024_08_25_K11l
zen_Image-Handler-5.3.5
zen_TyPackageTracker-5.0.0

Hi lat9

Is there a function in EO5 to allow adding the shipping address to an invoice if someone has checked out using "Walk In" instead of selecting a shipping option?
If not, can an Edit option be added for that purpose?

Attachment 20925

14 Mar 2025, 12:41 PM
#1862
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

wsworx:

ZC 2.1
PHP 8.3
customer_tax_exempt_2.0.2
edit_orders-5.0.0
sitemapxml-4.0.3
usps-USPS_2024_08_25_K11l
zen_Image-Handler-5.3.5
zen_TyPackageTracker-5.0.0

Hi lat9

Is there a function in EO5 to allow adding the shipping address to an invoice if someone has checked out using "Walk In" instead of selecting a shipping option?
If not, can an Edit option be added for that purpose?

Attachment 20925
EO-5 is simply mimicking the base Zen Cart's Orders, Invoices and Packing Slip functionality in this. Note, too, that changing the address in EO without also changing the shipping module from "storepickup" will have no effect on that address' display in invoices and packingslips.

29 Mar 2025, 9:54 AM
#1864
swguy avatar

swguy

Administrator

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

Re: Edit Orders v4.0 Support Thread

Fantastic progress, @lat9!

I will be updating the documentation shortly to point users of ZC 2.1.0 to the new plugin.

8 Apr 2025, 12:21 PM
#1865
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hello,

I just installed on my local test site ZC version 2.1.0 running PHP version: 8.0.30. Plugins manager indicating that it is installed but there no new buttons on the orders page to edit the order

8 Apr 2025, 1:18 PM
#1866
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

allmart:

Hello,

I just installed on my local test site ZC version 2.1.0 running PHP version: 8.0.30. Plugins manager indicating that it is installed but there no new buttons on the orders page to edit the order
What are the site's configuration settings for Edit Orders?

8 Apr 2025, 1:44 PM
#1867
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Edit Orders is not appearing in the configuration drop-down

8 Apr 2025, 1:49 PM
#1868
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

allmart:

Edit Orders is not appearing in the configuration drop-down
Any admin debug logs?

8 Apr 2025, 1:50 PM
#1869
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

sorry but no.

8 Apr 2025, 2:08 PM
#1870
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Attachment 20945
I was able to access my configuration setting manually after finding the id in phpMyAdmin

8 Apr 2025, 2:45 PM
#1871
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

allmart:

Attachment 20945
I was able to access my configuration setting manually after finding the id in phpMyAdmin
Was there a previous version of EO installed?

8 Apr 2025, 2:56 PM
#1872
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

no, I uninstalled it, re-installed it, cleaned first but no change, still not showing in my configuration drop down

8 Apr 2025, 3:55 PM
#1873
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

allmart:

no, I uninstalled it, re-installed it, cleaned first but no change, still not showing in my configuration drop down
I can't fathom what the underlying issue is.

I'll suggest (a) uninstall and (b) remove the zc_plugins/EditOrders directory and all files.

Then re-copy that file-set from the EO distribution and try again.

8 Apr 2025, 4:10 PM
#1874
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

swguy:

Fantastic progress, @lat9!

I will be updating the documentation shortly to point users of ZC 2.1.0 to the new plugin.

I second that and anyone that hasn't donated yet for all this work, in addition to all the other done, needs to stop what they're doing and donate right now. :yes::yes:

https://www.paypal.com/paypalme/lat9vinos?locale.x=en_US

9 Apr 2025, 12:01 PM
#1875
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Did a clean install, works now ... thanks!!!

13 Apr 2025, 12:50 PM
#1876
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

v5.0.1 of Edit Orders is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2400

This release contains changes associated with these GitHub issues:

#324: Correct property 'scope'.
#323: Correct MySQL error when a customer's telephone and/or email-address are changed.

6 May 2025, 7:52 AM
#1877
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

ZC 2.1.0+
PHP 8.1
MySQL 10.5.28-MariaDB
POSM
DBIO
EO 5.0.2
Cloned Bootstrap
Printable Price List
Sitemap
Sales Report II

This only happens when I propagate a report with Sales Report II and click on the order number. I get a 500 error resulting in the following log:

[06-May-2025 06:40:43 UTC] PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29


[06-May-2025 06:40:43 UTC] Request URI: /MY_ADMIN/index.php?cmd=orders&oID=1704&action=edit, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29
Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29.


[06-May-2025 06:40:43 UTC] Request URI: /MY_ADMIN/index.php?cmd=orders&oID=1704&action=edit, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29
Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29.

When the ZC_plugin EO 5.0.2 is uninstalled, clicking on the order number in Sales Report II works as advertised.

6 May 2025, 2:29 PM
#1878
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

dbltoe:

ZC 2.1.0+
PHP 8.1
MySQL 10.5.28-MariaDB
POSM
DBIO
EO 5.0.2
Cloned Bootstrap
Printable Price List
Sitemap
Sales Report II

This only happens when I propagate a report with Sales Report II and click on the order number. I get a 500 error resulting in the following log:

[06-May-2025 06:40:43 UTC] PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29

[06-May-2025 06:40:43 UTC] Request URI: /MY_ADMIN/index.php?cmd=orders&oID=1704&action=edit, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29
Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29.

[06-May-2025 06:40:43 UTC] Request URI: /MY_ADMIN/index.php?cmd=orders&oID=1704&action=edit, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught Error: Undefined constant "EO_SHOW_EDIT_ORDER_ICON" in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php:29
Stack trace:
#0 /includes/autoload_func.php(47): EditOrdersAdminObserver->__construct()
#1 /MY_ADMIN/includes/application_top.php(40): require('/home/MY_USER/...')
#2 /MY_ADMIN/orders.php(8): require('/home/MY_USER/...')
#3 /MY_ADMIN/index.php(16): require('/home/MY_USER/...')
#4 {main}
thrown in /zc_plugins/EditOrders/v5.0.2/admin/includes/classes/observers/EditOrdersAdminObserver.php on line 29.

> 
> When the ZC_plugin EO 5.0.2 is uninstalled, clicking on the order number in Sales Report II works as advertised.

Something's different in your installation.  I've done the same and am not seeing that error log.
6 May 2025, 2:34 PM
#1879
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've gone through verification several times, used UltraCompare to verify files, and cannot find anywhere that the constant is defined.

And, as commented, this did not throw a 500 or a log file until I clicked on an order number in a report created with Site Report II.

6 May 2025, 3:09 PM
#1880
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

dbltoe:

I've gone through verification several times, used UltraCompare to verify files, and cannot find anywhere that the constant is defined.

And, as commented, this did not throw a 500 or a log file until I clicked on an order number in a report created with Site Report II.

EO_SHOW_EDIT_ORDER_ICON is a configuration setting: "Show Edit-Order Icon on Orders' Listing".