Skip to content

Commit 1c850a2

Browse files
author
Oleksandr Dubovyk
committed
MC-30461: Product Price Changes Email Shows Incorrect Item Pricing
- fixed
1 parent a82c672 commit 1c850a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/ProductAlert/Model/Observer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ protected function _processPrice(\Magento\ProductAlert\Model\Email $email)
242242
);
243243

244244
$product->setCustomerGroupId($customer->getGroupId());
245+
$this->_storeManager->getStore()->setWebsiteId($website->getId());
245246
if ($alert->getPrice() > $product->getFinalPrice()) {
246247
$productPrice = $product->getFinalPrice();
247248
$product->setFinalPrice($this->_catalogData->getTaxPrice($product, $productPrice));

0 commit comments

Comments
 (0)