Skip to content

Commit 48274e1

Browse files
author
Oleksandr Dubovyk
committed
MC-30091: In Stock Alert Email Shows Incorrect Item Pricing
- fixed
1 parent 1002763 commit 48274e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/code/Magento/ProductAlert/Block/Product/ImageProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,11 @@ public function __construct(
5656
*/
5757
public function getImage(Product $product, $imageId, $attributes = [])
5858
{
59-
$storeId = $this->storeManager->getStore()->getId();
60-
$this->appEmulation->startEnvironmentEmulation($storeId, Area::AREA_FRONTEND, true);
61-
6259
try {
6360
$image = $this->imageBuilder->create($product, $imageId, $attributes);
6461
} catch (\Exception $exception) {
65-
$this->appEmulation->stopEnvironmentEmulation();
6662
throw $exception;
6763
}
68-
69-
$this->appEmulation->stopEnvironmentEmulation();
7064
return $image;
7165
}
7266
}

0 commit comments

Comments
 (0)