Good morning!
Long-time user, first time poster! I am working on my upgrade to v158 and installed this plugin this morning.
Code:
if (function_exists ('zen_get_tax_locations')) {
trigger_error ('Pre-existing zen_get_tax_locations function detected.', E_USER_ERROR);
exit ();
} else {
function zen_get_tax_locations($store_country = -1, $store_zone = -1) {
global $order;
if (STORE_PRODUCT_TAX_BASIS == 'Store') {
$GLOBALS['customer_country_id'] = STORE_COUNTRY;
$GLOBALS['customer_zone_id'] = STORE_ZONE;
} else {
$_SESSION['customer_id'] = $order->customer['id'];
I am getting a fatal error since zen_get_tax_locations exists, at least in v158.
Does anyone have any thoughts for fixing the issue?
-JC
Bookmarks