Edit Orders v4.3.4-beta2 is now available (https://github.com/lat9/edit_orders/...g/v4.3.4-beta2) for those that want a pre-check.
That version (to be released as v4.3.4) now includes two additional configuration settings to allow a store to identify how product-price calculations should be handled. Those new settings are described in this GitHub issue: https://github.com/lat9/edit_orders/issues/75
Last edited by wsworx; 23 Mar 2018 at 05:25 PM.
I've just submitted v4.3.4 of Edit Orders to the Zen Cart Plugins for review; once available for download, I'll post back here.
This release contains changes associated with the following GitHub issues, see https://github.com/lat9/edit_orders for additional information:
#65: Enable `ot_onetime_discount` to both add to and deduct from an order's total.
#72: Additional notifications for plugin support.
#73: Tax-handling corrections, enables proper integration with plugin order-totals.
#74: Correct PHP 7.1+ warning
#75: Entered product price no longer overrides calculations. In support of that change, two additional Edit Orders configuration settings are created!
#76: Changes to the order's `shipping method` don't "stick".
#77: Re-align `/YOUR_ADMIN/orders.php` notifiers with those present in Zen Cart 1.5.6 and later.
Now available for download from the Zen Cart plugins: https://www.zen-cart.com/downloads.php?do=file&id=1513
I have just come across this issue. I have used Edit Orders extensively previously without seeing this.
Definitely, seems to be a relative path issue when the shipping modules are loaded from admin. The original OP says the file is there. Well, actually that is not strictly true. The current working directory is admin, so the inclusion of 'includes/modules/shipping/canadapost.php' in his case fails. And it should fail because we are in the admin folder.
If the CWD was the root directory this inclusion would work on his/her server. So, this is what I encountered anyway. My resolution to it was to change the CWD just before the shipping modules are included and then return it back to admin afterwards. Now everything works.
I am not sure if this is server specific, or php version specific. Someone with more sysadmin experience than me can comment about that. I guess there must be some complication if not everyone is experiencing this.
Nick
Nick
iszent.com
@niccol, the changes to the /includes/classes/shipping.php use the absolute directory when loaded via the admin (the pre-pending of the DIR_FS_CATALOG to the 'relative' directories). Is it perhaps that the DIR_FS_CATALOG identified in the admin's /includes/configure.php is empty?
Bookmarks