Skip to content

Commit 1c407e5

Browse files
committed
Merge remote-tracking branch 'origin/2.4-develop' into B2B-2048
2 parents f47d2c8 + ba0b59c commit 1c407e5

File tree

27 files changed

+228
-140
lines changed

27 files changed

+228
-140
lines changed

app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public function getCacheKeyInfo()
196196
$cacheKeys['display_minimal_price'] = $this->getDisplayMinimalPrice();
197197
$cacheKeys['is_product_list'] = $this->isProductList();
198198
$cacheKeys['customer_group_id'] = $this->getSaleableItem()->getCustomerGroupId();
199+
$cacheKeys['zone'] = $this->getZone();
199200
return $cacheKeys;
200201
}
201202

app/code/Magento/Catalog/Test/Mftf/Section/StorefrontCategoryFilterSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="StorefrontCategoryFilterSection">
1212
<element name="CategoryFilter" type="button" selector="//main//div[contains(@class,'filter-options')]//div[contains(text(), 'Category')]"/>
13-
<element name="CategoryByName" type="button" selector="//main//div[@class='filter-options']//li[@class='item']//a[contains(text(), '{{var1}}')]" parameterized="true"/>
13+
<element name="CategoryByName" type="button" selector="//main//div[contains(@class,'filter-options')]//li[@class='item']//a[contains(text(), '{{var1}}')]" parameterized="true"/>
1414
</section>
1515
</sections>

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
*/
4848
class Product extends AbstractEntity
4949
{
50+
private const DEFAULT_GLOBAL_MULTIPLE_VALUE_SEPARATOR = ',';
5051
public const CONFIG_KEY_PRODUCT_TYPES = 'global/importexport/import_product_types';
5152
private const HASH_ALGORITHM = 'sha256';
5253

@@ -707,8 +708,6 @@ class Product extends AbstractEntity
707708
private $filesystem;
708709

709710
/**
710-
* Catalog config.
711-
*
712711
* @var CatalogConfig
713712
*/
714713
private $catalogConfig;
@@ -2812,6 +2811,10 @@ private function parseAttributesWithWrappedValues($attributesData)
28122811
public function parseMultiselectValues($values, $delimiter = self::PSEUDO_MULTI_LINE_SEPARATOR)
28132812
{
28142813
if (empty($this->_parameters[Import::FIELDS_ENCLOSURE])) {
2814+
if ($this->getMultipleValueSeparator() !== self::DEFAULT_GLOBAL_MULTIPLE_VALUE_SEPARATOR) {
2815+
$delimiter = $this->getMultipleValueSeparator();
2816+
}
2817+
28152818
return explode($delimiter, $values);
28162819
}
28172820
if (preg_match_all('~"((?:[^"]|"")*)"~', $values, $matches)) {

app/code/Magento/CatalogRule/etc/adminhtml/events.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
<event name="catalogrule_dirty_notice">
1313
<observer name="catalogrule" instance="Magento\CatalogRule\Observer\AddDirtyRulesNotice" />
1414
</event>
15+
<event name="prepare_catalog_product_collection_prices">
16+
<observer name="catalogrule" disabled="true" />
17+
</event>
1518
</config>

app/code/Magento/CatalogRule/etc/crontab/events.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
<event name="catalog_product_get_final_price">
1010
<observer name="catalogrule" instance="Magento\CatalogRule\Observer\ProcessAdminFinalPriceObserver" />
1111
</event>
12+
<event name="prepare_catalog_product_collection_prices">
13+
<observer name="catalogrule" disabled="true" />
14+
</event>
1215
</config>

app/code/Magento/CatalogRule/etc/events.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@
2121
<event name="magento_catalogrule_api_data_ruleinterface_load_after">
2222
<observer name="legacy_model_load" instance="Magento\Framework\EntityManager\Observer\AfterEntityLoad" />
2323
</event>
24+
<event name="catalog_product_get_final_price">
25+
<observer name="catalogrule" instance="Magento\CatalogRule\Observer\ProcessFrontFinalPriceObserver" />
26+
</event>
27+
<event name="prepare_catalog_product_collection_prices">
28+
<observer name="catalogrule" instance="Magento\CatalogRule\Observer\PrepareCatalogProductCollectionPricesObserver" />
29+
</event>
2430
</config>

app/code/Magento/CatalogRule/etc/frontend/events.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/code/Magento/CatalogRule/etc/webapi_rest/events.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/code/Magento/CatalogRule/etc/webapi_soap/events.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/code/Magento/CatalogRuleGraphQl/etc/graphql/events.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)