M2.4.4, v1.3.1: Not get sender config according to storeview

Created by Esther Nguyen, Modified on Tue, 31 Jan 2023 at 02:12 PM by Esther Nguyen

ISSUE:

We have the BSS out of stock notification installed on a site with multiple websites under one Magento installation.


Everything is working as it should apart from the back in stock email not pulling in the correct 'sender name' when the product comes back in stock.


The sender name can be configured per website via the Magento admin here: Stores > Configuration > General > Store Email Addresses


Each store is set to a different sender name but when testing the back in stock email being sent out it won't use the specific website sender names and it will just use the default value.



SOLUTION:

We found that the module is only getting the sender config by default config but not by store view


To resolve the issue, please edit the file app/code/Bss/ProductStockAlert/Model/Email.php:


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article