Forums / Managing Customers and Orders / Invoice order status not updating.

Invoice order status not updating.

Views: 1,113

Results 1 to 4 of 4
16 May 2017, 4:49 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Invoice order status not updating.

I just uploaded fresh complete files for 1.5.4 and the invoice status only shows the default order status and not the actual order status. I know this works on 1.5.5 - but the invoice.php files for both are the same.

Does this work in 1.5.4 correctly? If not, can someone tell me where the problem is so I can fix it for a customer?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

16 May 2017, 7:24 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Invoice order status not updating.

Think you may find the answer in the similar threads below.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2017, 11:38 AM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Invoice order status not updating.

Thanks, that's interesting - also interesting that I couldn't turn those up on a search and that I didn't get an email when you posted your answer.

So this is all based on one setting that the results of are screwy - and the admin setting is deceptive. I have to update my website allthingszencart.com!

Under shipping & packaging Display Order Comments on Admin Invoice displays either no order status and no comments or just the first order status and comment or every dang bit of detail possible - when I did it on a completed order it shows all the details including transaction ID. This has changed in 1.5.5 but I haven't tested out all the possibilities there. It is not the invoice.php that has changed, however. This code is buried somewhere else in admin and I would like to know where if anyone knows.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

26 May 2017, 12:51 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Invoice order status not updating.

If the issue is the difference in what is presented with regards to the history of processing, then yes that is controlled outside of the invoice file and namely is anywhere that TABLE_ORDERS_STATUS_HISTORY is used to store something. The information to be presented in the invoice is any that have a customer_notified field value of 0 ((int)false) or greater. So, if wanted to always specifically have something hidden from the invoice, but show everything else, could store/modify that setting to a negative value or as needed to a specific negative value to support "known" recall of that entry. Then if say wanted it to be displayed in a specific "other" area, could evaluate for what negative value it is and if meets the associated criteria to use it...

Basically the invoice file is simply a "reporting" tool and how the data was recorded may have been changed which could be why things look different. In search of the use of the above table between ZC 1.5.5 and some earlier 1.5.x version there were some differences in other files found, though didn't go and do a full comparison review to see why there were differences (might have something installed that needed the additional occurrence(s)).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...