diff --git a/vendor/magento/module-product-alert/Model/UpdateThemeParams.php b/vendor/magento/module-product-alert/Model/UpdateThemeParams.php new file mode 100644 index 0000000000000..df4c0b7981dbe --- /dev/null +++ b/vendor/magento/module-product-alert/Model/UpdateThemeParams.php @@ -0,0 +1,59 @@ +stock->getTemplate() && !isset($params['themeId'])) { + $params['themeId'] = $this->design->getConfigurationDesignTheme( + Area::AREA_FRONTEND, + ['store' => $this->storeManager->getStore()->getId()] + ); + } + return [$template, $params]; + } +} diff --git a/vendor/magento/module-product-alert/etc/di.xml b/vendor/magento/module-product-alert/etc/di.xml index cb9200ea4c52a..305e9f2825e83 100644 --- a/vendor/magento/module-product-alert/etc/di.xml +++ b/vendor/magento/module-product-alert/etc/di.xml @@ -1,9 +1,9 @@ @@ -20,4 +20,7 @@ + + +