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

Edit Orders v4.0 Support Thread

Views: 346,056

Results 1,101 to 1,120 of 1,927
19 Apr 2017, 6:04 PM
#1101
lat9 avatar

lat9

Administrator

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

Edit Orders v4.0 Support Thread

@Prabu, thanks for the information. I'll post back once I've got this replicated!

20 Apr 2017, 10:38 AM
#1102
prabu avatar

prabu

New Zenner

Join Date:
Mar 2017
Location:
India
Posts:
22
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

@Prabu, thanks for the information. I'll post back once I've got this replicated!

Hi

Many thanks. Please provide some instructions to fix this issue.

20 Apr 2017, 12:13 PM
#1103
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

Prabu, please let me know your direct email address via PM (Private Message) so that I can send you an update to verify.

20 Apr 2017, 1:00 PM
#1104
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

The issue to which @Prabu refers will be seen on any site that uses multiple options with the same sort order when defining its products' attributes. I should have a correction available on GitHub within the next few days.

21 Apr 2017, 3:06 PM
#1105
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

lat9:

The issue to which @Prabu refers will be seen on any site that uses multiple options with the same sort order when defining its products' attributes. I should have a correction available on GitHub within the next few days.
... and the update is now available.

Note that there still might be some display differences in the ordering of the options/values from the initial order. See this Zen Cart posting for details.

23 Apr 2017, 1:40 PM
#1106
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

I've just submitted EO v4.2.3 to the plugins for review and will post back when it's available for download.

This version corrects the difference in attribute sorting between EO and the storefront (issue #49 in the plugin's GitHub repository).

Please check the readme; there's an additional edit required (up to ZC v1.5.5e anyway) to /includes/modules/attributes.php to make this work!

26 Apr 2017, 8:04 AM
#1107
prabu avatar

prabu

New Zenner

Join Date:
Mar 2017
Location:
India
Posts:
22
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

I've just submitted EO v4.2.3 to the plugins for review and will post back when it's available for download.

This version corrects the difference in attribute sorting between EO and the storefront (issue #49 in the plugin's GitHub repository).

Please check the readme; there's an additional edit required to /includes/modules/attributes.php to make this work!

Hi

Thanks for the update. Now i've made some changes in YOUR_ADMIN/includes/classes/attributes.php using changes(Like upgraded version to 4.2.2) you did. But still no luck.

Same issues continues. Still option name and values were changed sort order after edit. Please see this small video http://recordit.co/W6RUrn8wjl

Please advice.

26 Apr 2017, 11:25 AM
#1108
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

Prabu:

Hi

Thanks for the update. Now i've made some changes in YOUR_ADMIN/includes/classes/attributes.php using changes(Like upgraded version to 4.2.2) you did. But still no luck.

Same issues continues. Still option name and values were changed sort order after edit. Please see this small video http://recordit.co/W6RUrn8wjl

Please advice.
Did you also make the changes on the storefront? They're described in the readme under the Interaction with Other Modules tab; you need to make similar edits to your storefront /includes/modules/YOUR_TEMPLATE/attributes.php.

I realize now that I should have highlighted that within the change history.

26 Apr 2017, 2:22 PM
#1109
prabu avatar

prabu

New Zenner

Join Date:
Mar 2017
Location:
India
Posts:
22
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

Did you also make the changes on the storefront? They're described in the readme under the Interaction with Other Modules tab; you need to make similar edits to your storefront /includes/modules/YOUR_TEMPLATE/attributes.php.

I realize now that I should have highlighted that within the change history.

Hi

Sorry I've not applied same changes in /includes/modules/YOUR_TEMPLATE/attributes.php file. But i can't find the changes of this file in github and readme file of the module. Could you please provide this /includes/modules/YOUR_TEMPLATE/attributes.php file alone?

26 Apr 2017, 2:35 PM
#1110
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

lat9:

... and the update is now available.

Note that there still might be some display differences in the ordering of the options/values from the initial order. See this Zen Cart posting for details.

Prabu:

Hi

Sorry I've not applied same changes in /includes/modules/YOUR_TEMPLATE/attributes.php file. But i can't find the changes of this file in github and readme file of the module. Could you please provide this /includes/modules/YOUR_TEMPLATE/attributes.php file alone?
The file's changes are not on GitHub, since EO supports multiple Zen Cart versions. The link in the first post I've quoted identifies the changes necessary to your template-override of the storefront attributes.php processing.

As mentioned before, that change is documented in the EO readme under the Interactions with Other Modules tab.

30 Apr 2017, 4:02 PM
#1111
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

lat9:

I've just submitted EO v4.2.3 to the plugins for review and will post back when it's available for download.

This version corrects the difference in attribute sorting between EO and the storefront (issue #49 in the plugin's GitHub repository).

Please check the readme; there's an additional edit required (up to ZC v1.5.5e anyway) to /includes/modules/attributes.php to make this work!
v4.2.3 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1513

18 May 2017, 2:48 PM
#1112
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,955
Plugin Contributions:
8

Re: Edit Orders v4.0 Support Thread

hi,
when i look at ZC 1.5.5, it is supposedly compatible with php7.1.

has anyone tested the latest version of this module with php7.1?

the non-numeric arithmetic notices are now being reported in php7.1. see:

http://php.net/manual/en/migration71.other-changes.php

i'm curious before i consider upgrading various implementations of this module.

thanks.

18 May 2017, 2:50 PM
#1113
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

carlwhat:

hi,
when i look at ZC 1.5.5, it is supposedly compatible with php7.1.

has anyone tested the latest version of this module with php7.1?

the non-numeric arithmetic notices are now being reported in php7.1. see:

http://php.net/manual/en/migration71.other-changes.php

i'm curious before i consider upgrading various implementations of this module.

thanks.
I haven't (yet) validated on PHP 7.1; I'll get to that next week and get any updates required posted to the plugin's GitHub repo.

27 May 2017, 4:00 PM
#1114
swguy avatar

swguy

Administrator

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

Re: Edit Orders v4.0 Support Thread

This is a bug that might be too difficult to fix; I don't know, but I thought I'd report it anyhow so that at least people were aware of it.

If you have added fields to the orders_products table (as, for example, the dropship module does), edit orders will lose those fields. On an edit - even an edit as small as changing the order status - edit orders deletes and re-adds the orders_products table records. Since it is unaware that these additional fields exist, they are added back with their default values.

27 May 2017, 4:50 PM
#1115
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

swguy:

This is a bug that might be too difficult to fix; I don't know, but I thought I'd report it anyhow so that at least people were aware of it.

If you have added fields to the orders_products table (as, for example, the dropship module does), edit orders will lose those fields. On an edit - even an edit as small as changing the order status - edit orders deletes and re-adds the orders_products table records. Since it is unaware that these additional fields exist, they are added back with their default values.
It's not a bug ... it's a feechur!:P

Seriously, though, that's how the current versions of EO work. I've been working over the past couple of releases to migrate the separate extra_functions file into a class-based structure which, in turn, will lead to a new major version of EO that reuses any orders_products table entries, if possible.

27 May 2017, 5:20 PM
#1116
swguy avatar

swguy

Administrator

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

Re: Edit Orders v4.0 Support Thread

Thanks Cindy. This is great news.

26 Jun 2017, 9:36 PM
#1117
nitroedge avatar

nitroedge

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
22
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

I'm using Zen Cart v1.5.1 and Edit Orders 4.1.4.

I get the following error in my log files:

PHP Warning: Invalid argument supplied for foreach() in my admin directory/includes/classes/mock_cart.php on line 151

I searched this thread but was unable to find any information. I can't seem to pin down when it's actually ocurring.

Just wondering if anyone has any tips for me to investigate. Thanks!

27 Jun 2017, 11:14 AM
#1118
lat9 avatar

lat9

Administrator

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

Re: Edit Orders v4.0 Support Thread

Perhaps the order was missing products? That's the line where the class iterates over the products in the order.

27 Jun 2017, 2:12 PM
#1119
nitroedge avatar

nitroedge

New Zenner

Join Date:
Mar 2014
Location:
Canada
Posts:
22
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lat9:

Perhaps the order was missing products? That's the line where the class iterates over the products in the order.

Thanks I'll go back and ensure I have products in the cart as that is likely what happened. Really appreciate the speedy reply!

26 Aug 2017, 11:57 PM
#1120
swguy avatar

swguy

Administrator

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

Re: Edit Orders v4.0 Support Thread

Suggestion on admin/includes/classes/editOrders.php

instead of

$ot_tax_class = constant ($ot_tax_class_name);

use

        $ot_tax_class = null;
        if (defined($ot_tax_class_name)) {
           $ot_tax_class = constant ($ot_tax_class_name);
        }

to prevent a PHP Warning in case the tax class doesn't exist.