Zen Cart Logo
Forums / All Other Contributions/Addons / Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Views: 83,899

Results 221 to 240 of 660
13 Feb 2011, 7:31 PM
#221
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.

So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.

For example, starting from

Produit 	        Modèle 	Taxe 	Prix (sans taxe) 	Prix 	        Total (sans taxe) 	Total
25 x test article  TEST-10 	0.00% 	CHF 10.00 	        CHF 10.00 	CHF 250.00	       CHF 250.00
                                                                                                        Total: 	CHF 250.00

I changed the price from 10.00 to 9.95, and got the following :

Produit 	        Modèle 	Taxe 	Prix (sans taxe) 	Prix 	        Total (sans taxe) 	Total
25 x test article  TEST-10 	0.00% 	CHF 9.95 	        CHF 9.95 	CHF 248.75  	       CHF 248.75
                                                                                                        Total: 	CHF 0.00

Note the 0.00 for the grand total. I do not use any tax in my ZC shop, so this should not be related to that issue.

Should this problem be corrected in 3.5 ?

13 Feb 2011, 7:36 PM
#222
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

sanji:

A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.

So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.

For example, starting from

Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 10.00 CHF 10.00 CHF 250.00 CHF 250.00
Total: CHF 250.00

> 
> ```
Produit             Modèle     Taxe     Prix (sans taxe)     Prix             Total (sans taxe)     Total
25 x test article  TEST-10     0.00%     CHF 9.95             CHF 9.95     CHF 248.75             CHF 248.75
                                                                                                        Total:     CHF 0.00
```**Note the 0.00 for the grand total.** I do not use any tax in my ZC shop, so this should not be related to that issue.
> 
> **Should this problem be corrected in 3.5 ?**
Can't say that this will be resolved for YOU in the next version as it isn't a problem for the current version...
13 Feb 2011, 7:50 PM
#223
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

sanji:

A couple of weeks ago, I came here because I had some problems with the Edit Orders v3 add-on, mostly due to the fact I was using 2 languages and was getting blank pages due related to that.
Thanks to the updated version 3.3, this problem was solved, but I still had a couple of small problems - including one with the totals after an order had been edited. To be honest, I linked those issues to the fact I kept updating my files without making a clear re-installation of the latest ZC version.

So finally, I decided to pick up the latest 1.3.9h ZC version and add one by one mods I wanted, including of course Edit Orders and Super Orders. While the result is much better than what I had so far (this is still a test environment, of course), I still have a problem with Edit Orders 3.3 :
When I change the price of an article, the grand total of the order is set to 0.00.

For example, starting from

Produit Modèle Taxe Prix (sans taxe) Prix Total (sans taxe) Total
25 x test article TEST-10 0.00% CHF 10.00 CHF 10.00 CHF 250.00 CHF 250.00
Total: CHF 250.00

> > 
> > ```
Produit             Modèle     Taxe     Prix (sans taxe)     Prix             Total (sans taxe)     Total
25 x test article  TEST-10     0.00%     CHF 9.95             CHF 9.95     CHF 248.75             CHF 248.75
                                                                                                        Total:     CHF 0.00
```**Note the 0.00 for the grand total. **I do not use any tax in my ZC shop, so this should not be related to that issue.
> > **
> > Should this problem be corrected in 3.5 ?**
> 
> Can't say that this will be resolved for YOU in  the next version as it isn't a problem for the current version...

Screen prints from v3.03
13 Feb 2011, 10:08 PM
#224
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Fair enough. Do you have it working if the tax is set to 0% ?

Since this is a fresh install, I was wondering if it could come from a setting of the shop rather than from the code itself...

Thanks,

sanji

14 Feb 2011, 12:27 AM
#225
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

sanji:

Fair enough. Do you have it working if the tax is set to 0% ?Yep.. I only have one product setup as taxable in this test store..

sanji:

Since this is a fresh install, I was wondering if it could come from a setting of the shop rather than from the code itself...Possible, but off the top of my head I couldn't say which setting this might be..

14 Feb 2011, 8:57 AM
#226
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals,

Could you please direct me to the part of the code where the total is calculated and put into the database? I will try to understand where the issue could come from...

And another question : in the orders_total table, once I change a price and hence the total, the value of "sort_order" changes to 999 - the usual value - to 1. Is that normal?

Thanks again for your continuous support,

sanji

16 Mar 2011, 4:23 AM
#227
letsmod avatar

letsmod

New Zenner

Join Date:
Sep 2008
Posts:
42
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

soxophoneplayer:

Admin login lost when updating.

I updated this mod from v 3.02 to 3.03 on my zc 1.3.9h (test site only). I lost my admin login, replaced with a blank page. Front end of store worked fine.

Peeking in the cache/debug files, I was getting a "can not re-declare zen_bd_scrub in ()..." message. This was in ref to admin/includes/functions/extra_functions/common_orders_functions.php.

When I edit/merge or replace files there is always a .bak file created - I don't know if this is a zen cart thing or a windows thing. But anyway, common_orders_functions.php.bak was clearly not playing nice with the new file. When I removed the .bak file everything returned to normal and my login worked fine.
I post this in case someone else hits the same snag ;o)

I am having same exact issue, I lose the ADMIN login as soon as I install the admin/includes/functions/extra_functions/common_orders_functions file

16 Mar 2011, 6:43 AM
#228
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

letsmod:

I am having same exact issue, I lose the ADMIN login as soon as I install the admin/includes/functions/extra_functions/common_orders_functions file
and what error are you getting??

Blank page = Error

Post the information from the log file that would have been generated as a result of the error..

18 Mar 2011, 4:36 AM
#229
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Great mod, but how do I get this to work with fec mod... the orders.php file was winmerged and got a 404 when trying to edit...

18 Mar 2011, 5:18 AM
#230
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

rxalex:

Great mod, but how do I get this to work with fec mod... the orders.php file was winmerged and got a 404 when trying to edit...
All I can suggest is using Winmerge or Beyond Compare to merge the orders.php file from FEC with the one that comes with Edit Orders.

22 Mar 2011, 11:09 PM
#231
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I upgraded my site from zv137 to v139h and also change the template to Lite_Red I was displaying a RSS Feed on the homepage. Now every time I define my home page the RSS Feed shows in iframes, what would make it do that, it show find in Fox Fire, it internet explorer that shows the iframe. Its a php file.

22 Mar 2011, 11:37 PM
#232
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

weezee:

I upgraded my site from zv137 to v139h and also change the template to Lite_Red I was displaying a RSS Feed on the homepage. Now every time I define my home page the RSS Feed shows in iframes, what would make it do that, it show find in Fox Fire, it internet explorer that shows the iframe. Its a php file.

I don't understand the connection between your issue and the Edit Orders mod or why you would post that question in the Edit Orders support forum?

22 Mar 2011, 11:50 PM
#233
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

ScriptJunkie:

I don't understand the connection between your issue and the Edit Orders mod or why you would post that question in the Edit Orders support forum?

Sorry for the mix up.

23 Mar 2011, 1:37 AM
#234
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

UGH. I have version PHP Version 5.1.6

Why will it only work with 5.2.X?

Are there some minor code changes I could make to make this work?

23 Mar 2011, 3:26 AM
#235
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Screw it. I went ahead and updated PHP. Curious though the files overwrite the core files as there are no instructions to manually edit the code. So I'm wondering are the mod files 1.3.9h? I don't want to overwrite my vanilla 1.3.9h core files with mod files with 1.3.9g or less code.

TIA!

23 Mar 2011, 12:54 PM
#236
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

willie bee:

Screw it. I went ahead and updated PHP. Curious though the files overwrite the core files as there are no instructions to manually edit the code. So I'm wondering are the mod files 1.3.9h? I don't want to overwrite my vanilla 1.3.9h core files with mod files with 1.3.9g or less code.

TIA!

And there won't be as we don't know what other mods you may have made to the same core files for other modules.. So you will need to compare them side by side and merge the required (and CLEARLY MARKED) modifications.

From the readme (please not what's highlighted in red:

Rename the YOUR_ADMIN_FOLDER folders in the 2_Required_Core_Edits folder to match the name of your store's admin folder
As with ANY module, any files which override existing cart files should be merged using a tool like Winmerge or Beyond Compare before you install the module.

Because these are core files, they have been separated in our install fileset so they are easily identified. If you have installed any mods which make changes to the files in this folder, you will need to use a tool like Winmerge or Beyond Compare to incorporate those changes into these files.

Won't hurt ANYTHING to download the module, read through the readme and see if this module works for your needs.. The readme covers the most frequently asked questions..

23 Mar 2011, 11:35 PM
#237
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

And there won't be as we don't know what other mods you may have made to the same core files for other modules.. So you will need to compare them side by side and merge the required (and CLEARLY MARKED) modifications.

From the readme (please not what's highlighted in red:

Won't hurt ANYTHING to download the module, read through the readme and see if this module works for your needs.. The readme covers the most frequently asked questions..

I got it working. I just overwrote the core files because it is a vanilla install.

24 Mar 2011, 1:09 AM
#238
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

willie bee:

I got it working. I just overwrote the core files because it is a vanilla install.
Cool..:cool:

24 Mar 2011, 2:20 AM
#239
lindenboy avatar

lindenboy

New Zenner

Join Date:
Feb 2011
Location:
Indianapolis, IN
Posts:
38
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Just installed Edit Order V3.03 to a vanilla base zen cart (we've been using the template system for over-rides, but not for anything other than look and feel) and got a couple PHP Warnings in the cache/debug log:

[23-Mar-2011 21:59:49] PHP Warning: asort() expects parameter 1 to be array, null given in /home/xstimpr/public_html/tuxedoparkbrewers-com/Admin/edit_orders.php on line 2350

[23-Mar-2011 21:59:49] PHP Warning: Invalid argument supplied for foreach() in /home/xstimpr/public_html/tuxedoparkbrewers-com/Admin/edit_orders.php on line 2351

Edit_Orders.php lines are as follows:

asort($ProductList[$add_product_categories_id]);
foreach($ProductList[$add_product_categories_id] as $ProductID => $ProductName)

If anyone could make any sense of them as far as how buggy these couple lines of code really are, it would be appreciated. We really just wanted a way to quickly edit a cash order before it was totalled and filled, other than simply creating a second to append to the first. Our store is new and being designed and run by noobs, so GREAT APPRECIATION comes from us to you and hopefully restraint and patience comes back our way : )

Admin has been renamed, I just supplied the default on the forum to cover my tracks.

Thanks in advance...

JJ

24 Mar 2011, 2:39 AM
#240
lindenboy avatar

lindenboy

New Zenner

Join Date:
Feb 2011
Location:
Indianapolis, IN
Posts:
38
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I hate replying to my own reply but I couldn't find an "edit" button the reply. Still new! And I figured if you looked and bothered to reply to the first question, you might squeeze in some additional quick advice:

Can you delete items from an order simply by deleting the line item from the "edit order" page?

Furthermore, if this is the case, will the inventory be re-posted to the category for the store, or is that something Admin has to do independently of editing the order quantities of the items.

TIA.

JJ