1

I have created a custom form module, when I send email and the template showing Luma theme header and footer but for another emails everything loads from custom theme.

Question : Why this is happening?

Any help would be appreciable.

2

For 'store' => \Magento\Store\Model\Store::DEFAULT_STORE_ID

use 'store' => $this->storeManager->getStore()->getId()

Where $this->storeManager is alise of Magento\Store\Model\StoreManagerInterface

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.