Quote Originally Posted by jvdd View Post
Can't seem to anyone with the same problem as I do.

I can normally edit an order (quantity, add new product, comment, status, etc.) with no problem. Recently a HUGE order came in with over 400 items and can't be edited. Clicking update gives me a blank page that has the all the admin header, nav and footer and nothing else. I can add an item and it updates but not edit existing items.

debug_edit _orders_xxx.log ends with just this:

2019-05-31 15:03:13, Edit Orders entered (4.3.4) action (update_order)
Enabled Order Totals: ot_subtotal.php;ot_misc_cost.php;ot_group_pricing.php;ot_tax.php;ot_shipping.php ;ot_total.php

Code:
2019-05-31 08:58:11, Edit Orders entered (4.3.4) action (edit)
Enabled Order Totals: ot_subtotal.php;ot_misc_cost.php;ot_group_pricing.php;ot_tax.php;ot_shipping.php;ot_total.php
getOrderInfo, on entry: Called by /…/…/…/…/edit_orders.php on line #705
	Subtotal: (not set), Shipping: (not set), Shipping Tax: (not set), Tax: XXXX.XX, Total: XXXXX.XX, Tax Groups: {"15.0000":"1"}
	$_SESSION['shipping']: (not set)

Order Totals
		ot_subtotal. Text: $XX,XXX.XX, Value: XXXXX.XXXX
		ot_tax. Text: $X,XXX.XX, Value: XXXX.XXXX
		ot_shipping. Text: $0.00, Value: 0.0000
		ot_total. Text: $XX,XXX.XX, Value: XXXXX.XXXX

	Checking whether the product's attribute is a download, option_id = 14, value_id = 196: (1)
	…..… LONG LIST……..

Checking order for virtual status.  Order contains 453 unique products, 0 of those are virtual


getProductTaxes(15.0% HST)
{"products_tax_class_id":"1"}{"qty":2,"id":"653","name”:”Product Name”,”model”:”XXX-XX”,”tax":"15.0000","price”:”XX.XXXX”,”final_price”:”XX.XXXX”,”onetime_charges":"0.0000","products_priced_by_attribute":"1","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0","attributes":[{"option":"Color","value":"Amber","option_id":"1","value_id":"16","prefix":"+","price":"0.0000"}]}
getProductTaxes, returning 8.1.
…..… LONG LIST……..

	Checking whether the product's attribute is a download, option_id = 14, value_id = 196: (1)
	…..… LONG LIST……..

Checking order for virtual status.  Order contains 453 unique products, 0 of those are virtual
calculateOrderShippingTax returning 0.
getOrderInfo, on exit:
{"code":"delivertocustomer","title":"Delivery","description":"Deliver to Customer","icon":"","enabled":true,"sort_order":"0","tax_class":"0","tax_basis":"Shipping"}
	Subtotal: XXXXX.X, Shipping: 0, Shipping Tax: 0, Tax: XXXX.XX, Total: XXXXX.XX, Tax Groups: {"15.0% HST”:XXXX.XX}
	$_SESSION['shipping']: {"title":"Delivery (Shipping costs will be calculated for final invoice)","id":"delivertocustomer_","cost":0}

Order Totals
		ot_subtotal. Text: $XX,XXX.XX, Value: XXXXX.XXXX
		ot_tax. Text: $X,XXX.XX, Value: XXXX.XXXX
		ot_shipping. Text: $0.00, Value: 0.0000
		ot_total. Text: $XX,XXX.XX, Value: XXXXX.XXXX

	Checking whether the product's attribute is a download, option_id = 14, value_id = 196: (1)
	…..… LONG LIST……..

Checking order for virtual status.  Order contains 453 unique products, 0 of those are virtual


============================================================
= Creating display of Order Product #2311
============================================================
Product Details:
{"qty":2,"id":"653","name”:”Product Name”,”model”:”XXX-XX,”tax":"15.0000","price”:”XX.XXXX”,”final_price”:”XX.XXXX”,”onetime_charges":"0.0000","products_priced_by_attribute":"1","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0","attributes":[{"option":"Color","value":"Amber","option_id":"1","value_id":"16","prefix":"+","price":"0.0000"}]}


Options ID #1
Product Attribute: 
["2682"]
Options Info:
{"options":{"2219":"Assorted","2218":"Amber","2214":"Black","2216":"Blue","2215":"Green","2217":"Pink"},"name":"Color","type":"6","length":"32","size":"32","rows":"0"}

…..… LONG LIST……..

2019-05-31 08:58:54, Edit Orders entered (4.3.4) action (update_order)
Enabled Order Totals: ot_subtotal.php;ot_misc_cost.php;ot_group_pricing.php;ot_tax.php;ot_shipping.php;ot_total.php
[/CODE]

In a successful edit case, it would have the regular product and details populated after that. Help?!

ZC 1.5.5f
EO 4.3.4
Group Pricing (per Item) 155
Stock by Attributes" (version 1.5.3)
Admin New Order 1.4
Add Customers From Admin 2.0.9

Not sure if I am the right person to reply, or if my reply is correct, but I had the same problem editing existing items. To edit items you need to go to -configuration / Edit Orders and then change both *Product Price Calculation — Method and Default to MANUAL!

Hope this helps and otherwise hopefully someone else can help :)