I also believe that may be the cause of the page/log not populating after clicking update. Thanks, I'll try to dig deeper.
If it was a memory issue, how do I increase it?
Printable View
Hi,
I've been ill for the past couple of weeks with a cold/flu. Tonight I did some more investigating, and found that I had missed one small change in admin/includes/functions/extra_functions/edit_orders_functions.php.
Dual pricing requires the following change, which I had missed.
if (!$query->EOF) {
// Handle common fields
$retval = array_merge($retval, array(
'name' => $query->fields['products_name'],
'model' => $query->fields['products_model'],
'price' => $query->fields['products_price_w'],
I appreciate your time and help.
I'm currently having an issue with this plugin. The unit price is not updating when changes are made, yet the success message after hitting "update" still appears.
We updated from Zen Cart 1.5.1 to 1.5.6f a few days ago. We use PHP 7.3 and MySQL 5.7.26. I've looked at the edit_orders error log but was unable to notice anything too out of the ordinary. All other edits made through this plugin are working fine such as quanitity, status, and attributes/pricing. It just isn't letting me update a unit price of a product. Let me know if there is any other information you need. The error log is quite long but if anyone knows an easy way to make that viewable I can follow steps to upload it somewhere.
Paste error log contents into the tags. I can confirm this same behavior in 1.5.6b and EO 4.4.0. I can update shipping and it does stay at the new value. But items with or without attributes cannot have the price updated. Items that are on special have the price reverted to the non-special price once the order is saved after changing the price to something else. PHP 7.1.30. No error logs.
Which "Price Calculation Method" are each of you using?
FWIW, I'm not seeing this behavior on EO 4.4.0 and zc156b. I've got Configuration->Edit Orders->Product Price Calculation Method set to Choose with a default of Auto.
I place a test order for a product that's on sale for $25.00 (normal price of $35.00). On entry to EO, the product price shows $25.00.
Using my defaults (i.e. auto without special pricing), I click "Update" and the price changes to $35.00.
Change the product-pricing method to auto, with specials pricing, click "Update" and the price changes back to $25.00.
Change the product-pricing method to as entered, change the price to 15.00, click "Update" and the price changes to $15.00.
Yep, that's me being unaware of the config settings. Pass me that sign you borrowed from dbltoe!