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

Edit Orders v4.0 Support Thread

Views: 345,914

Results 301 to 320 of 1,927
07 Oct 2013, 16:06
#301
maladi3 avatar

maladi3

New Zenner

Join Date:
Jul 2013
Posts:
9
Plugin Contributions:
0

Edit Orders v4.0 Support Thread

Hello,

This is an awesome module! But I have a problem when editing some orders I get a white page. Url for our site is chewbarka.net

In the error log (/cache/) I get

[07-Oct-2013 14:34:15 UTC] PHP Fatal error:  Call to a member function MoveNext() on a non-object in /home/admin/domains/chewbarka.net/public_html/allmighty/includes/classes/attributes.php on line 384

I have the following modules installed:
Table Discounts
Attribute Matrix
FedEx
USPS
PayPal
QBMS

07 Oct 2013, 17:38
#302
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

Maladi3:

...

In the error log (/cache/) I get

[07-Oct-2013 14:34:15 UTC] PHP Fatal error: Call to a member function MoveNext() on a non-object in /home/admin/domains/chewbarka.net/public_html/allmighty/includes/classes/attributes.php on line 384

This is a known bug in Zen Cart 1.3.x and 1.5.x. This happens when you enable Zen Cart's persistent "SQL Cache". It affects Zen Cart itself and any plugin which is aware of (and can use) Zen Cart's "SQL Cache".

Two ways exist to handle the bug:
1. Disable the persistent "SQL Cache". In most cases it is not needed. The "SQL Cache" and "Query Cache" built into Zen Cart 1.5.1 are separate and disabling one will not affect the other. One can disable the "SQL Cache" by editing the two [configure.php files](http://www.zen-cart.com/content.php?307-configurephp-file-contents-explained) and setting SQL_CACHE_METHOD to none.
2. One can apply [the patch](http://www.zen-cart.com/showthread.php?200484-Fixed-1-6-0-Query-Factory) to their Zen Cart installation.
10 Oct 2013, 01:19
#303
smurfy1 avatar

smurfy1

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

I am running 1.5.1
I am having some issues with edit orders that I need fixed.
I can delete/add products but I the subtotal doesn't adjust. I also can’t adjust the shipping total or add a discount coupon. I try, hit update and it goes to a blank page. When I go back and access order again, there is no change. I had a customer cancel part of an order so his shipping needs adjusted and I can’t do it. I tried both changing the shipping charge (didn’t work) and then I tried to do a discount coupon to adjust the total (again, didn’t work). Any ideas how to get this to work?

10 Oct 2013, 01:44
#304
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

smurfy1:

I am running 1.5.1
I am having some issues with edit orders that I need fixed.
I can delete/add products but I the subtotal doesn't adjust. I also can’t adjust the shipping total or add a discount coupon. I try, hit update and it goes to a blank page. When I go back and access order again, there is no change. I had a customer cancel part of an order so his shipping needs adjusted and I can’t do it. I tried both changing the shipping charge (didn’t work) and then I tried to do a discount coupon to adjust the total (again, didn’t work). Any ideas how to get this to work?

What version of Edit Orders??

When you get a blank page there is likely an error log that was created.. what does the error log file say?? What other modules do you have installed??

10 Oct 2013, 12:37
#305
maladi3 avatar

maladi3

New Zenner

Join Date:
Jul 2013
Posts:
9
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hello again,

The cache fixed solved my problem. But I use table discounts to do 90 percent of our store.

I am trying to take off $99 from an invoice. Which I was able to do. But with this new plugin my Table discounts dont show up right inside the invoices.

Sub-Total: $2,915.50
United States Postal Service (Priority Mail International®): $96.14
Table Discounts: $1,356.00
Discount Coupon: Credit : $99.00
Total: $2,912.64

That should be alot smaller of a total.

Any ideas? I tried looking for a solution but cant seem to find one.

10 Oct 2013, 14:46
#306
smurfy1 avatar

smurfy1

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

DivaVocals:

What version of Edit Orders??

When you get a blank page there is likely an error log that was created.. what does the error log file say?? What other modules do you have installed??

version is EDIT ORDERS 4.1.2, Zen Cart 1.5.1

Ok the error was this:
[10-Oct-2013 10:15:32 America/New_York] PHP Fatal error: Call to undefined function GetRewardPoints() in /home/creative/public_html/includes/modules/order_total/ot_reward_points_display.php on line 40

Thing is that the rewards mod doesn't touch the code in the admin that I know of. Other mods (I have a lot) are Adv Shipper Mod, Rewards Mod, Monthly Sales...those are the big ones.

I also wanted to note that although I can add or delete products, the subtotal does not change. The product pricing will but the subtotal stays the same as the original order

10 Oct 2013, 15:03
#307
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

Maladi3:

Hello again,

The cache fixed solved my problem. But I use table discounts to do 90 percent of our store.

I am trying to take off $99 from an invoice. Which I was able to do. But with this new plugin my Table discounts dont show up right inside the invoices.

Sub-Total: $2,915.50
United States Postal Service (Priority Mail International®): $96.14
Table Discounts: $1,356.00
Discount Coupon: Credit : $99.00
Total: $2,912.64

That should be alot smaller of a total.

Any ideas? I tried looking for a solution but cant seem to find one.helps if you tell us what you expect to see in the "Table Discounts"

10 Oct 2013, 15:08
#308
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

smurfy1:

Ok the error was this:
[10-Oct-2013 10:15:32 America/New_York] PHP Fatal error: Call to undefined function GetRewardPoints() in /home/creative/public_html/includes/modules/order_total/ot_reward_points_display.php on line 40

Thing is that the** rewards mod doesn't touch the code in the admin that I know of**. Other mods (I have a lot) are Adv Shipper Mod, Rewards Mod, Monthly Sales...those are the big ones.Ummm, but clearly it affects order totals which means when you administer orders, errors could indeed show up in the admin -- otherwise you wouldn't get this error message, right???

The "call to an undefined function" error says that the issue is possibly with your Rewards Points module.. I would take a look at your Rewards Points module and make sure it's installed correctly..

So going back to my original response to you requesting more information.. you still haven't answered:

What other modules do you have installed??

10 Oct 2013, 15:13
#309
smurfy1 avatar

smurfy1

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

DivaVocals:

Ummm, but clearly it affects order totals which means when you administer orders, errors could indeed show up in the admin -- otherwise you wouldn't get this error message, right???

The "call to an undefined function" error says that the issue is possibly with your Rewards Points module.. I would take a look at your Rewards Points module and make sure it's installed correctly..

So going back to my original response to you requesting more information.. you still haven't answered:

What other modules do you have installed??

I did specify other mods I have installed: Ceon Advanced Shipper, Rewards Points, Monthly Sales,Ultimate SEO, Google Analytics,Google Merchant Feeder, Tabbed Products Pro,Recover Cart Sales,Sitemap xml

I'll look at Rewards Points. Thanks

10 Oct 2013, 15:31
#310
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

smurfy1:

I did specify other mods I have installed: Ceon Advanced Shipper, Rewards Points, Monthly Sales,Ultimate SEO, Google Analytics,Google Merchant Feeder, Tabbed Products Pro,Recover Cart Sales,Sitemap xml

I'll look at Rewards Points. Thanks

Your previous response was a bit vague specifically "Adv Shipper Mod, Rewards Mod". Ceon Advanced Shipper is better.. (more specific) However there are two Rewards Points mods that I am aware of.. Which one do you have installed??

10 Oct 2013, 15:49
#311
maladi3 avatar

maladi3

New Zenner

Join Date:
Jul 2013
Posts:
9
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

DivaVocals:

helps if you tell us what you expect to see in the "Table Discounts"

It should take away from the subtotal. Instead its added in to the total. So instead of the total only being around $1000. Its almost $3000

http://www.thatsoftwareguy.com/zencart_table_discounts.html

Thank you,
Rob

10 Oct 2013, 17:02
#312
smurfy1 avatar

smurfy1

New Zenner

Join Date:
Jul 2010
Posts:
37
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

DivaVocals:

Your previous response was a bit vague specifically "Adv Shipper Mod, Rewards Mod". Ceon Advanced Shipper is better.. (more specific) However there are two Rewards Points mods that I am aware of.. Which one do you have installed??
Didn't know where were two...sorry
Reward Point Full Suite
I was able to go into the database and correct the totals but when they were corrected, it also shifted the arrangement of the items. Previously you would have SubTotal, Shipping, Coupon, Total and then Reward Points. After database change, the order is now Shipping,Rewards Points,SubTotal, Total and then Coupon. Only the order changed in the database has this change in invoice order. For the meantime, I'm hoping it's isolated to this one order and leaving it be (unless you have a suggestion). I have to leave town for a week but will post again if problem keeps happening

10 Oct 2013, 17:17
#313
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hello
I am having a problem with Edit Orders.
When we go to edit the quantity amount in an order, it will delete items from the order that have a .5 quantity amount. .5 is our minimum order amount on many items. This happened on an order where there were 8 line items ordering .5 and 3 line items with larger amounts, when she adjusted the larger amount from 3 to 2 and hit update, it removed the line items that had .5 (unadjusted) in the quantity amount.
I looked through the thread and didn't see anything that could help.
Zen version 1.5.1
add ons
Fuel Slim box
Image Handler 4
CKEDITOR
Column Layout Grid
Simple Google Analytics
CEON URI MAPPING
SITEMAP XML
Cross Sell Plus Advanced Sell Combo
Multi Cross Sell
SALES REPORT
Email Address Exporter
Edit Order - INSTALLED
CSS/JS loader
Fast and easy checkout

url - https://www.QuiltsInMontana.com

Can anyone help me out please?!
Mona

10 Oct 2013, 18:37
#314
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

What version of Edit Orders??? are you using the latest (we won't assume you are.. you will need to be specific..)

stxmona:

Hello
I am having a problem with Edit Orders.
When we go to edit the quantity amount in an order, it will delete items from the order that have a .5 quantity amount. .5 is our minimum order amount on many items. This happened on an order where there were 8 line items ordering .5 and 3 line items with larger amounts, when she adjusted the larger amount from 3 to 2 and hit update, it removed the line items that had .5 (unadjusted) in the quantity amount.
I looked through the thread and didn't see anything that could help.
Zen version 1.5.1
add ons
Fuel Slim box
Image Handler 4
CKEDITOR
Column Layout Grid
Simple Google Analytics
CEON URI MAPPING
SITEMAP XML
Cross Sell Plus Advanced Sell Combo
Multi Cross Sell
SALES REPORT
Email Address Exporter
Edit Order - INSTALLED
CSS/JS loader
Fast and easy checkout

url - www.QuiltsInMontana.com

Can anyone help me out please?!
Mona

10 Oct 2013, 18:52
#315
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

I knew I forgot something...
Edit Orders 4.1.2

Thanks
Mona

10 Oct 2013, 20:30
#316
maladi3 avatar

maladi3

New Zenner

Join Date:
Jul 2013
Posts:
9
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

DivaVocals:

helps if you tell us what you expect to see in the "Table Discounts"

Was my explanation clear enough? Is there anything else I could provide to help? Thank you!

11 Oct 2013, 05:30
#317
nlinksolution avatar

nlinksolution

New Zenner

Join Date:
Sep 2010
Posts:
32
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hi,

I have installed Edit order 4.0 in Zencart 1.5.1.

I have Product Qty in Fraction. i.e. 0.5

So when i edit any order having product ordered with QTY 0.5 and update that order, Product gets disappeared from order.

Is this bug or what? How to fix?

11 Oct 2013, 06:47
#318
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v4.0 Support Thread

nlinksolution:

Hi,

I have installed Edit order 4.0 in Zencart 1.5.1.

I have Product Qty in Fraction. i.e. 0.5

So when i edit any order having product ordered with QTY 0.5 and update that order, Product gets disappeared from order.

Is this bug or what? How to fix?

Start by upgrading to the latest version (4.1.2)

11 Oct 2013, 09:21
#319
nlinksolution avatar

nlinksolution

New Zenner

Join Date:
Sep 2010
Posts:
32
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Sorry i haven't check exact version and said 4.0 because thread title.

But the version i am using for edit order is latest 4.1.2

11 Oct 2013, 13:23
#320
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

stxmona:

... When we go to edit the quantity amount in an order, it will delete items from the order that have a .5 quantity amount. ...

nlinksolution:

... I have Product Qty in Fraction. i.e. 0.5 ... So when i edit any order having product ordered with QTY 0.5 and update that order, Product gets disappeared from order. ...
Try making the following change (to Edit Orders 4.1.2) and let us know if it solves the problem for you (if you report it fixes the issues - the code will be added to the next release of Edit Orders).

Edit "/admin/edit_orders.php". Around line 245 change the int cast to a float cast. The original code looks like:

$_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
foreach($_POST['update_products'] as $orders_products_id => $product_update) {
  $product_update['qty'] = (int) $product_update['qty'];

After making your changes the code should look like:

$_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
foreach($_POST['update_products'] as $orders_products_id => $product_update) {
  $product_update['qty'] = (float) $product_update['qty'];