Skip to content

Commit 220eb76

Browse files
committed
ACP2E-2224: Regular Price does not show on PLP for Configurable Product
- improvements for updated PAT failures - removed special price cache mapping
1 parent 7ad43e1 commit 220eb76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Catalog/Pricing/Price/SpecialPriceBulkResolver.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public function generateSpecialPriceMap(int $storeId, ?AbstractCollection $produ
7979
if (!$productCollection) {
8080
return [];
8181
}
82-
$cacheKey = $this->getCacheKey($storeId, $productCollection);
83-
$cachedData = $this->getCachedData($cacheKey);
84-
if ($cachedData === null) {
82+
//$cacheKey = $this->getCacheKey($storeId, $productCollection);
83+
//$cachedData = $this->getCachedData($cacheKey);
84+
if (true || $cachedData === null) {
8585
$metadata = $this->metadataPool->getMetadata(ProductInterface::class);
8686
$connection = $this->resource->getConnection();
8787
$select = $connection->select()
@@ -122,7 +122,7 @@ public function generateSpecialPriceMap(int $storeId, ?AbstractCollection $produ
122122
}
123123

124124
}
125-
$this->saveCachedData($cacheKey, $map, array_column($data, 'identifier'));
125+
//$this->saveCachedData($cacheKey, $map, array_column($data, 'identifier'));
126126

127127
return $map;
128128
}

0 commit comments

Comments
 (0)