Skip to content

Commit da04422

Browse files
author
Maciej Pawłowski
committed
set scoped identity at product alert email
1 parent b1ef766 commit da04422

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,13 @@ public function send()
378378
'customerName' => $customerName,
379379
'alertGrid' => $alertGrid,
380380
]
381-
)->setFrom(
381+
)->setFromByScope(
382382
$this->_scopeConfig->getValue(
383383
self::XML_PATH_EMAIL_IDENTITY,
384384
ScopeInterface::SCOPE_STORE,
385385
$storeId
386-
)
386+
),
387+
$storeId
387388
)->addTo(
388389
$this->_customer->getEmail(),
389390
$customerName

0 commit comments

Comments
 (0)