diff --git a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_add_prdct_action_processing.php b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_add_prdct_action_processing.php
index c198f42..9ecc5da 100644
--- a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_add_prdct_action_processing.php
+++ b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_add_prdct_action_processing.php
@@ -2,19 +2,19 @@
/**
* @package Edit Orders for Zen Cart German
* Edit Orders plugin by Cindy Merkin a.k.a. lat9 (cindy@vinosdefrutastropicales.com)
- * Copyright (c) 2017-2022 Vinos de Frutas Tropicales
+ * Copyright (c) 2017-2024 Vinos de Frutas Tropicales
* @copyright Copyright 2003-2022 Zen Cart Development Team
* Zen Cart German Version - www.zen-cart-pro.at
* @copyright Portions Copyright 2003 osCommerce
* @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0
- * @version $Id: eo_add_prdct_action_processing.php 2022-06-10 08:21:16Z webchills $
+ * @version $Id: eo_add_prdct_action_processing.php 2024-03-20 07:21:16Z webchills $
*/
// -----
// Prior to EO v4.6.0, this code was in-line in the main /admin/edit_orders.php script. Now required by
// that script in global context for its 'add_prdct' action.
//
$redirect_required = false;
-if (!zen_not_null($step)) {
+if (empty($step)) {
$step = 1;
}
$eo->eoLog(
@@ -42,7 +42,7 @@
}
// Retrieve the information for the new product
- $attributes = (isset($_POST['id'])) ? zen_db_prepare_input($_POST['id']) : [];
+ $attributes = zen_db_prepare_input($_POST['id'] ?? []);
$new_product = eo_get_new_product(
$add_product_products_id,
$add_product_quantity,
@@ -66,7 +66,7 @@
// Remove the low order and/or cod fees (will automatically repopulate if needed)
foreach ($order->totals as $key => $total) {
- if ($total['class'] == 'ot_loworderfee' || $total['class'] == 'ot_cod_fee') {
+ if ($total['class'] === 'ot_loworderfee' || $total['class'] === 'ot_cod_fee') {
// Update the information in the order
$total['title'] = '';
$total['value'] = 0;
diff --git a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_common_address_format.php b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_common_address_format.php
index 7b8cc23..0dbc2f8 100644
--- a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_common_address_format.php
+++ b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_common_address_format.php
@@ -2,19 +2,19 @@
/**
* @package Edit Orders for Zen Cart German
* Edit Orders plugin by Cindy Merkin a.k.a. lat9 (cindy@vinosdefrutastropicales.com)
- * Copyright (c) 2017-2022 Vinos de Frutas Tropicales
+ * Copyright (c) 2017-2024 Vinos de Frutas Tropicales
* @copyright Copyright 2003-2022 Zen Cart Development Team
* Zen Cart German Version - www.zen-cart-pro.at
* @copyright Portions Copyright 2003 osCommerce
* @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0
- * @version $Id: eo_common_address_format.php 2022-06-10 08:21:16Z webchills $
+ * @version $Id: eo_common_address_format.php 2024-03-20 08:21:16Z webchills $
*/
//
// This module is loaded in global scope by /admin/includes/modules/edit_orders/eo_edit_action_display.php.
//
// The following variables are set for the module's use:
//
-// $address_icon ..... The name of the icon associated with the address' information.
+// $address_icon ..... The name of the FA icon associated with the address' information.
// $address_label .... The label, e.g. "Customer" to associate with the address information.
// $address_name ..... The specific address, e.g. 'customer' or 'billing', that is being displayed. This is
// used to create unique form-field names for the three variants of addresses.
@@ -23,85 +23,92 @@
// $address_notifier . The notification to be raised at the end of EO's standard address elements.
//
?>
-
+
+arrayImplode($address_fields));
+?>
-
-
+
+
= $address_label ?>
-
:
-
id="update__name">
+
:
+
id="update_= $address_name ?>_name">
-
:
-
id="update__company">
+
:
+
id="update_= $address_name ?>_company">
-
:
-
id="update__address">
+
:
+
id="update_= $address_name ?>_address">
-
:
-
id="update__suburb">
+
:
+
id="update_= $address_name ?>_suburb">
-
:
-
id="update__city">
+
:
+
id="update_= $address_name ?>_city">
-
:
-
id="update__state">
+
:
+
id="update_= $address_name ?>_state">
-
:
-
id="update__postcode">
+
:
+
id="update_= $address_name ?>_postcode">
-
:
+
:
- ';
- }
- ?>
+';
+}
+?>
- 'label_name', //-No trailing ':', that will be added by EO.
- // 'value' => $value //-This is the form-field to be added
- // ),
- // );
- //
- $additional_rows = [];
- $zco_notifier->notify($address_notifier, $address_fields, $additional_rows);
- if (!empty($additional_rows)) {
- foreach ($additional_rows as $next_row) {
- ?>
+ 'label_name', //-No trailing ':', that will be added by EO.
+// 'value' => $value //-This is the form-field to be added
+// ),
+// );
+//
+$additional_rows = [];
+$zco_notifier->notify($address_notifier, $address_fields, $additional_rows);
+if (!empty($additional_rows)) {
+ foreach ($additional_rows as $next_row) {
+?>
-
:
-
+
= $next_row['label'] ?>:
+
= $next_row['value'] ?>
-
+}
+?>
diff --git a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_addresses_display.php b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_addresses_display.php
index 56f5c83..4027be4 100644
--- a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_addresses_display.php
+++ b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_addresses_display.php
@@ -2,12 +2,12 @@
/**
* @package Edit Orders for Zen Cart German
* Edit Orders plugin by Cindy Merkin a.k.a. lat9 (cindy@vinosdefrutastropicales.com)
- * Copyright (c) 2017-2022 Vinos de Frutas Tropicales
- * @copyright Copyright 2003-2022 Zen Cart Development Team
+ * Copyright (c) 2017-2024 Vinos de Frutas Tropicales
+ * @copyright Copyright 2003-2024 Zen Cart Development Team
* Zen Cart German Version - www.zen-cart-pro.at
* @copyright Portions Copyright 2003 osCommerce
* @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0
- * @version $Id: eo_edit_action_addresses_display.php 2022-06-10 08:21:16Z webchills $
+ * @version $Id: eo_edit_action_addresses_display.php 2024-03-20 08:21:16Z webchills $
*/
//
// This module is loaded in global scope by /admin/edit_orders.php.
@@ -27,12 +27,12 @@
$max_country_length = 'maxlength="' . zen_field_length(TABLE_ORDERS, 'customers_country') . '"';
?>
diff --git a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_osh_table_display.php b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_osh_table_display.php
index 5f2a770..32667d5 100644
--- a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_osh_table_display.php
+++ b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_osh_table_display.php
@@ -2,12 +2,12 @@
/**
* @package Edit Orders for Zen Cart German
* Edit Orders plugin by Cindy Merkin a.k.a. lat9 (cindy@vinosdefrutastropicales.com)
- * Copyright (c) 2017-2022 Vinos de Frutas Tropicales
- * @copyright Copyright 2003-2022 Zen Cart Development Team
+ * Copyright (c) 2017-2024 Vinos de Frutas Tropicales
+ * @copyright Copyright 2003-2024 Zen Cart Development Team
* Zen Cart German Version - www.zen-cart-pro.at
* @copyright Portions Copyright 2003 osCommerce
* @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0
- * @version $Id: eo_edit_action_osh_table_display.php 2022-06-10 08:21:16Z webchills $
+ * @version $Id: eo_edit_action_osh_table_display.php 2024-03-20 08:21:16Z webchills $
*/
// -----
// Prior to EO v4.6.0, this code was in-line in the main /admin/edit_orders.php script. Now required by
@@ -20,7 +20,7 @@
// -----
// Gather the order's status-history records, sorting based on the configuration setting added in v4.4.0.
//
-$osh_order_by = (EO_STATUS_HISTORY_DISPLAY_ORDER == 'Desc') ? "date_added DESC, orders_status_history_id DESC" : "date_added ASC, orders_status_history_id ASC";
+$osh_order_by = (EO_STATUS_HISTORY_DISPLAY_ORDER === 'Desc') ? 'date_added DESC, orders_status_history_id DESC' : 'date_added ASC, orders_status_history_id ASC';
$orders_history = $db->Execute(
"SELECT *
FROM " . TABLE_ORDERS_STATUS_HISTORY . "
@@ -140,12 +140,12 @@
if (!array_key_exists($field_name, $osh)) {
continue;
}
-
+
// -----
// Grab the current field's value to improve readability.
//
$field_value = $osh[$field_name];
-
+
// -----
// No show_function? Then just output the associated field value.
//
@@ -153,12 +153,12 @@
$display_value = $field_value;
} else {
$show_function = $field_values['show_function'];
-
+
// -----
// Built-in function? Make sure it's supported and then provide the output for the
// current field.
//
- if ($show_function == 'built-in') {
+ if ($show_function === 'built-in') {
switch ($field_name) {
case 'orders_status_id':
$display_value = $orders_status_array[$field_value];
@@ -191,7 +191,7 @@
}
}
}
-
+
// -----
// Output the current field's display-value if there's an associated header-column.
//
@@ -199,12 +199,12 @@
?>
diff --git a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_ot_table_display.php b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_ot_table_display.php
index 928f004..2bdcaac 100644
--- a/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_ot_table_display.php
+++ b/NEUE DATEIEN/DEINADMIN/includes/modules/edit_orders/eo_edit_action_ot_table_display.php
@@ -2,21 +2,21 @@
/**
* @package Edit Orders for Zen Cart German
* Edit Orders plugin by Cindy Merkin a.k.a. lat9 (cindy@vinosdefrutastropicales.com)
- * Copyright (c) 2017-2022 Vinos de Frutas Tropicales
- * @copyright Copyright 2003-2022 Zen Cart Development Team
+ * Copyright (c) 2017-2024 Vinos de Frutas Tropicales
+ * @copyright Copyright 2003-2024 Zen Cart Development Team
* Zen Cart German Version - www.zen-cart-pro.at
* @copyright Portions Copyright 2003 osCommerce
* @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0
- * @version $Id: eo_edit_action_ot_table_display.php 2022-06-10 08:21:16Z webchills $
+ * @version $Id: eo_edit_action_ot_table_display.php 2024-03-20 08:21:16Z webchills $
*/
// -----
// Prior to EO v4.6.0, this code was in-line in the main /admin/edit_orders.php script. Now required by
// /admin/includes/modules/edit_orders/eo_edit_action_display.php in global context for the rendering of the
// current order's orders-status-history table.
//
-$eo_href_link = zen_href_link(FILENAME_EDIT_ORDERS, zen_get_all_get_params(['oID', 'action']) . "oID=$oID&action=add_prdct");
+$eo_href_link = zen_href_link(FILENAME_EDIT_ORDERS, zen_get_all_get_params(['oID', 'action']) . "oID=$oID&action=add_prdct");
$eo_add_product_button = zen_image_button('button_add_product.gif', TEXT_ADD_NEW_PRODUCT);
-$eo_add_button_link = '' . TEXT_ADD_NEW_PRODUCT . '';
+$eo_add_button_link = '' . TEXT_ADD_NEW_PRODUCT . '';
// -----
// Give a watching observer the chance to identify additional order-totals that should be considered display-only.
@@ -40,7 +40,7 @@
// The number of columns displayed in this section depends on whether/not the store displays prices
// with tax. If so, both the net- and gross-prices are displayed; otherwise, simply the net.
//
-$columns = ((DISPLAY_PRICE_WITH_TAX == 'true') ? 7 : 6) - 2;
+$columns = ((DISPLAY_PRICE_WITH_TAX === 'true') ? 7 : 6) - 2;
// Iterate over the order totals.
for ($i = 0, $index = 0, $n = count($order->totals); $i < $n; $i++) {
@@ -108,7 +108,7 @@
%
@@ -144,7 +144,7 @@
-
+
+
+
$_POST['update_delivery_postcode'],
'delivery_country' => $_POST['update_delivery_country'],
'payment_method' => $_POST['update_info_payment_method'],
- 'cc_type' => (isset($_POST['update_info_cc_type'])) ? $_POST['update_info_cc_type'] : '',
- 'cc_owner' => (isset($_POST['update_info_cc_owner'])) ? $_POST['update_info_cc_owner'] : '',
- 'cc_expires' => (isset($_POST['update_info_cc_expires'])) ? $_POST['update_info_cc_expires'] : '',
+ 'cc_type' => $_POST['update_info_cc_type'] ?? '',
+ 'cc_owner' => $_POST['update_info_cc_owner'] ?? '',
+ 'cc_expires' => $_POST['update_info_cc_expires'] ?? '',
'order_tax' => 0
];
@@ -78,7 +78,7 @@
// If the number is not already obfuscated, we use the same method
// as the authorize.net module to obfuscate the entered CC number
if (ctype_digit($update_info_cc_number)) {
- $update_info_cc_number = str_pad(substr($_POST['update_info_cc_number'], -4), strlen($_POST['update_info_cc_number']), "X", STR_PAD_LEFT);
+ $update_info_cc_number = str_pad(substr($_POST['update_info_cc_number'], -4), strlen($_POST['update_info_cc_number']), 'X', STR_PAD_LEFT);
}
$sql_data_array['cc_number'] = $update_info_cc_number;
@@ -106,8 +106,8 @@
// Update the order's status-history (and send emails, if requested) via the common
// Zen Cart function.
//
-$email_include_message = (isset($_POST['notify_comments']) && $_POST['notify_comments'] == 'on');
-$customer_notified = isset($_POST['notify']) ? (int)$_POST['notify'] : 0;
+$email_include_message = (isset($_POST['notify_comments']) && $_POST['notify_comments'] === 'on');
+$customer_notified = (int)($_POST['notify'] ?? 0);
$status_updated = zen_update_orders_history($oID, $comments, null, $status, $customer_notified, $email_include_message);
$order_updated = ($status_updated > 0);
@@ -139,13 +139,17 @@
// applied to start afresh.
//
if (isset($_POST['reset_totals'])) {
- $order->info['tax'] = $order->info['shipping_tax'] = $order->info['shipping_cost'] = $order->info['total'] = $order->info['subtotal'] = 0;
+ $order->info['tax'] = 0;
+ $order->info['shipping_tax'] = 0;
+ $order->info['shipping_cost'] = 0;
+ $order->info['total'] = 0;
+ $order->info['subtotal'] = 0;
$order->totals = [];
foreach ($order->info['tax_groups'] as $key => $value) {
$order->info['tax_groups'][$key] = 0;
}
}
-
+
// -----
// Initialize the shipping cost, tax-rate and tax-value.
//
@@ -162,9 +166,9 @@
// Determine the 'base' price-calculation method to be used, setting the message to be
// written to the order's status-history once the order's products have been processed.
//
- if (EO_PRODUCT_PRICE_CALC_METHOD == 'Auto' || EO_PRODUCT_PRICE_CALC_METHOD == 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD == 'Choose' && $_POST['payment_calc_method'] != 3)) {
+ if (EO_PRODUCT_PRICE_CALC_METHOD === 'Auto' || EO_PRODUCT_PRICE_CALC_METHOD === 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD === 'Choose' && $_POST['payment_calc_method'] !== '3')) {
$price_calc_method_message = EO_MESSAGE_PRICING_AUTO;
- if (EO_PRODUCT_PRICE_CALC_METHOD == 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD == 'Choose' && $_POST['payment_calc_method'] == 1)) {
+ if (EO_PRODUCT_PRICE_CALC_METHOD === 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD === 'Choose' && $_POST['payment_calc_method'] === '1')) {
$price_calc_method_message = EO_MESSAGE_PRICING_AUTOSPECIALS;
}
$price_calc_method = 'auto';
@@ -197,7 +201,7 @@
PHP_EOL . 'Order Product ID: ' . $orders_products_id . ' Row ID: ' . $rowID . PHP_EOL .
'Product in Request: ' . PHP_EOL . $eo->eoFormatArray($product_update)
);
-
+
// Only update if there is an existing item in the order
if ($rowID >= 0) {
// Grab the old product + attributes
@@ -227,17 +231,17 @@
if ($product_update['qty'] > 0) {
// Retrieve the information for the new product
- $attrs = (isset($product_update['attr'])) ? $product_update['attr'] : '';
+ $attrs = $product_update['attr'] ?? '';
unset($product_update['attr']);
$new_product = eo_get_new_product(
$old_product['id'],
$product_update['qty'],
$product_update['tax'],
$attrs,
- (EO_PRODUCT_PRICE_CALC_METHOD == 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD == 'Choose' && $_POST['payment_calc_method'] == 1))
+ (EO_PRODUCT_PRICE_CALC_METHOD === 'AutoSpecials' || (EO_PRODUCT_PRICE_CALC_METHOD === 'Choose' && $_POST['payment_calc_method'] === '1'))
);
unset($attrs);
-
+
// Handle the case where the product was deleted
// from the store. This should probably never be done.
// Removing the product will cause issues with links
@@ -263,17 +267,17 @@
// Depending on the product-price calculation method, either the values entered
// or the pricing just calculated "rule".
//
- if ($price_calc_method == 'auto') {
+ if ($price_calc_method === 'auto') {
$new_product = array_merge($product_update, $new_product);
} else {
$new_product = array_merge($new_product, $product_update);
}
-
+
// -----
// If the admin has an option to "Choose" the pricing calculation method, save the
// current selection in the session so that it's maintained during their processing.
//
- if (EO_PRODUCT_PRICE_CALC_METHOD == 'Choose') {
+ if (EO_PRODUCT_PRICE_CALC_METHOD === 'Choose') {
$_SESSION['eo_price_calculations'] = $_POST['payment_calc_method'];
}
@@ -283,6 +287,10 @@
// Update Subtotal and Pricing
eo_update_order_subtotal($oID, $new_product);
+ // -----
+ // Log the new product added; don't need its description!
+ //
+ unset($new_product['products_description']);
$eo->eoLog (
PHP_EOL . $price_calc_method . PHP_EOL .
'Added Product:' . PHP_EOL . $eo->eoFormatArray($new_product) . PHP_EOL .
@@ -295,16 +303,30 @@
$order_updated = true;
}
}
-
+
// -----
// If the order's been updated ...
//
- if ($order_updated) {
+ if ($order_updated === true) {
+ // -----
+ // See if additional details regarding what was updated in the order are available.
+ //
+ $additional_history = '';
+ if (html_entity_decode($eo->arrayImplode($order->customer), ENT_COMPAT, CHARSET) !== html_entity_decode($_POST['existing-customer'], ENT_COMPAT, CHARSET)) {
+ $additional_history .= "\n\n" . sprintf(EO_MESSAGE_ADDRESS_UPDATED, EO_CUSTOMER) . $_POST['existing-customer'];
+ }
+ if (html_entity_decode($eo->arrayImplode($order->billing), ENT_COMPAT, CHARSET) !== html_entity_decode($_POST['existing-billing'], ENT_COMPAT, CHARSET)) {
+ $additional_history .= "\n\n" . sprintf(EO_MESSAGE_ADDRESS_UPDATED, EO_BILLING) . $_POST['existing-billing'];
+ }
+ if (html_entity_decode($eo->arrayImplode($order->delivery), ENT_COMPAT, CHARSET) !== html_entity_decode($_POST['existing-delivery'], ENT_COMPAT, CHARSET)) {
+ $additional_history .= "\n\n" . sprintf(EO_MESSAGE_ADDRESS_UPDATED, EO_DELIVERY) . $_POST['existing-delivery'];
+ }
+
// -----
// Add an orders-status-history record, identifying that an update was performed.
//
- $eo->eoRecordStatusHistory($oID, EO_MESSAGE_ORDER_UPDATED . $price_calc_method_message);
-
+ $eo->eoRecordStatusHistory($oID, EO_MESSAGE_ORDER_UPDATED . $price_calc_method_message . $additional_history);
+
// -----
// Need to force update the tax field if the tax is zero.
// This runs after the shipping tax is added by the above update
@@ -333,6 +355,7 @@
$order->info['tax'] += $tax_value;
}
}
+ unset($order->products['products_description']);
$eo->eoLog (
PHP_EOL . 'Updated Products in Order:' . PHP_EOL . $eo->eoFormatArray($order->products) . PHP_EOL .
$eo->eoFormatOrderTotalsForLog($order, 'Updated Products Order Totals:') .
@@ -355,19 +378,20 @@
);
foreach ($_POST['update_total'] as $order_total) {
- $order_total['value'] = floatval($order_total['value']);
+ $order_total['value'] = (float)$order_total['value'];
$order_total['text'] = $eo->eoFormatCurrencyValue($order_total['value']);
$order_total['sort_order'] = $eo->eoGetOrderTotalSortOrder($order_total['code']);
// TODO Special processing for some modules
- if (zen_not_null($order_total['title']) && $order_total['title'] != ':') {
+ if (!empty($order_total['title']) && $order_total['title'] !== ':') {
+ $order_total['title'] = rtrim($order_total['title']) . ':';
switch ($order_total['code']) {
case 'ot_shipping':
$order->info['shipping_method'] = $order_total['title'];
$order->info['shipping_module_code'] = $order_total['shipping_module'];
break;
case 'ot_tax':
- if (count($order->products) == 0) {
+ if (count($order->products) === 0) {
$order_total['title'] = '';
$order_total['value'] = 0;
}
@@ -390,7 +414,7 @@
case 'ot_coupon':
// Default to using the title from the module
$coupon = rtrim($order_total['title'], ': ');
- $order_total['title'] = (isset($GLOBALS['ot_coupon'])) ? $GLOBALS['ot_coupon']->title : '';
+ $order_total['title'] = $GLOBALS['ot_coupon']->title ?? '';
// Look for correctly formatted title
preg_match('/([^:]+):([^:]+)/', $coupon, $matches);
@@ -428,7 +452,7 @@
$found = false;
foreach ($order->totals as $key => $total) {
- if ($total['class'] == $order_total['code']) {
+ if ($total['class'] === $order_total['code']) {
// Update the information in the order
$order->totals[$key]['title'] = $order_total['title'];
$order->totals[$key]['value'] = $order_total['value'];
@@ -438,7 +462,7 @@
}
}
- if (!$found) {
+ if ($found === false) {
$order->totals[] = [
'class' => $order_total['code'],
'title' => $order_total['title'],
@@ -454,7 +478,7 @@
// Update the order's order-totals
eo_update_database_order_totals($oID);
-
+
// -----
// Update the product's weight, too.
//
@@ -476,7 +500,7 @@
$order_updated = true;
}
-if ($order_updated) {
+if ($order_updated === true) {
$messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success');
$zco_notifier->notify('EDIT_ORDER_ORDER_UPDATED_SUCCESS', $oID);
} else {