This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/controllers/backend/profiles.php b/app/controllers/backend/profiles.php | |
index 99bba7a00b..299722d7e3 100644 | |
--- a/app/controllers/backend/profiles.php | |
+++ b/app/controllers/backend/profiles.php | |
@@ -330,8 +330,11 @@ if ($mode == 'manage') { | |
} else { | |
$storefront_of_redirect = $storefront_repository->findFirstActiveStorefront(); | |
if (!$storefront_of_redirect) { | |
- fn_set_notification('W', __('notice'), __('no_active_storefronts')); | |
- return [CONTROLLER_STATUS_REDIRECT, 'companies.manage']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
index d6c675a..f5e1297 100644 | |
--- a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
+++ b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
@@ -3628,6 +3628,7 @@ class RusEximCommerceml | |
$group_products_feature_values[$product['variation_group_id']][$product_id] = $feature_values; | |
} else { | |
$product_repository->updateProductFeaturesValues($product_id, $feature_values); | |
+ $new_product_ids[] = $product_id; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/functions/fn.catalog.php b/app/functions/fn.catalog.php | |
index cbbbd3f..8633705 100644 | |
--- a/app/functions/fn.catalog.php | |
+++ b/app/functions/fn.catalog.php | |
@@ -5403,7 +5403,7 @@ function fn_update_product_feature($feature_data, $feature_id, $lang_code = DESC | |
} else { | |
$action = 'update'; | |
- $old_feature_data = fn_get_feature_data_with_subfeatures($feature_id, $lang_code); | |
+ $old_feature_data = fn_get_feature_data_with_subfeatures($feature_id, $lang_code, ['statuses' => []]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/wishlist/func.php b/app/addons/wishlist/func.php | |
index f75cebd..62995fa 100644 | |
--- a/app/addons/wishlist/func.php | |
+++ b/app/addons/wishlist/func.php | |
@@ -112,12 +112,6 @@ function fn_wishlist_get_carts(&$type_restrictions) | |
} | |
} | |
-function fn_wishlist_get_carts_before_select($params, $items_per_page, $fields, $join, &$condition, &$group, &$sorting, $limit) | |
-{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/rus_online_cash_register/Tygh/Addons/RusOnlineCashRegister/Receipt/Item.php b/app/addons/rus_online_cash_register/Tygh/Addons/RusOnlineCashRegister/Receipt/Item.php | |
index 3fc9eae..8444366 100644 | |
--- a/app/addons/rus_online_cash_register/Tygh/Addons/RusOnlineCashRegister/Receipt/Item.php | |
+++ b/app/addons/rus_online_cash_register/Tygh/Addons/RusOnlineCashRegister/Receipt/Item.php | |
@@ -16,6 +16,7 @@ | |
namespace Tygh\Addons\RusOnlineCashRegister\Receipt; | |
use Tygh\Addons\RusTaxes\Receipt\Item as BaseItem; | |
+use Tygh\Addons\RusTaxes\Receipt\Receipt as BaseReceipt; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
index d099e05..43df60f 100644 | |
--- a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
+++ b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
@@ -3130,7 +3130,7 @@ class RusEximCommerceml | |
return $xml; | |
} | |
- public function importFileOrders($xml, $lang_code) | |
+ public function importFileOrders($xml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
index 1562a02..31fdd8d 100644 | |
--- a/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
+++ b/app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php | |
@@ -3947,7 +3947,8 @@ class RusEximCommerceml | |
if ($xml_offer->{$cml['product_features']}->{$cml['product_feature']}) { | |
foreach ($xml_offer->{$cml['product_features']}->{$cml['product_feature']} as $feature) { | |
- $offer_feature_value = OfferFeatureValue::create((string) $feature->{$cml['id']}, (string) $feature->{$cml['value']}); | |
+ $feature_id = !empty($feature->{$cml['id']}) ? $feature->{$cml['id']} : $feature->{$cml['name']}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/Tygh/Shippings/Services/Ups.php b/app/Tygh/Shippings/Services/Ups.php | |
index 8a8b1dc..5193481 100644 | |
--- a/app/Tygh/Shippings/Services/Ups.php | |
+++ b/app/Tygh/Shippings/Services/Ups.php | |
@@ -343,9 +343,9 @@ class Ups implements IService | |
} | |
if (!empty($this->package['location']['address'])) { | |
- $rating_request['Shipment']['ShipTo']['AddressLine1'] = $this->package['location']['address']; | |
+ $rating_request['Shipment']['ShipTo']['Address']['AddressLine1'] = $this->package['location']['address']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/functions/fn.catalog.php b/app/functions/fn.catalog.php | |
index fce933f..7e0fe0e 100644 | |
--- a/app/functions/fn.catalog.php | |
+++ b/app/functions/fn.catalog.php | |
@@ -7411,8 +7411,13 @@ function fn_get_products_views($simple_mode = true, $active = false) | |
foreach ($templates as $file_name => $file_info) { | |
$template_description = fn_get_file_description($file_info[Themes::PATH_ABSOLUTE], 'template-description', true); | |
$_title = fn_basename($file_name, '.tpl'); | |
+ $template_path = str_replace( | |
+ Themes::factory($file_info['theme'])->getThemePath() . '/templates/', |
NewerOlder