Skip to content

Commit 8f7328b

Browse files
author
Oleksandr Dubovyk
committed
MC-30255: In Stock Alert Email Shows Incorrect Item Pricing
- added fallback
1 parent 1124cc8 commit 8f7328b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct(
6767
public function getProducts(ProductInterface $product)
6868
{
6969
$productId = $product->getId();
70-
$storeId = $product->getStoreId();
70+
$storeId = $product->getStoreId() ?: $this->storeManager->getStore()->getId();
7171
$key = $storeId . '-' . $productId;
7272
if (!isset($this->linkedProductMap[$key])) {
7373
$productIds = $this->resource->getConnection()->fetchCol(

0 commit comments

Comments
 (0)