apparently there is not a simple way. i would think that our previous attempts would have solved this problem. looking back at the thread, the first error log calls it out at line 64. the second error log calls it out at line 66. i'm not sure what you have added to:
includes/modules/order_total/ot_loworderfee.php
as zen_get_tax_locations() is only called once in that script.
there is more than 1 way to skin a cat (or so they say...), and previous suggestions should work... especially the part about removing the beginning of the code from the edit_orders_functions.php. i have tested this on my own systems, so i'm not real sure what to say.
we can try one last thing. create a new file here:
YOUR_ADMIN/includes/auto_loaders/config.admin_taxes.php
in that file add the following code:
PHP Code:
<?php
$autoLoadConfig[200][] = array(
'autoType' => 'require',
'loadFile' => DIR_FS_CATALOG . DIR_WS_FUNCTIONS . '/functions_taxes.php'
);
this should load all of the tax functions for the admin side.
where you can run into a problem with this approach is for edit_orders as that add on makes use of functions with the same name and they may be slightly different. you might want to look at that.
i agree with your assessment that these functions should be part of the base ZC install. the 3 add-ons we are talking about have always been my least favorite to debug, and i empathize with you.
best.
Bookmarks