scopeConfig->isSetFlag( self::XML_PATH_EMAIL_ENABLED, \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $this->getStore()->getStoreId() ); } /** * Return email copy_to list * * @return array|bool */ public function getEmailCopyTo() { $data = $this->getConfigValue(self::XML_PATH_EMAIL_COPY_TO, $this->getStore()->getStoreId()); if (!empty($data)) { return explode(',', $data); } return false; } /** * Return copy method * * @return mixed */ public function getCopyMethod() { return $this->getConfigValue(self::XML_PATH_EMAIL_COPY_METHOD, $this->getStore()->getStoreId()); } /** * Return guest template id * * @return mixed */ public function getGuestTemplateId() { return $this->getConfigValue(self::XML_PATH_EMAIL_GUEST_TEMPLATE, $this->getStore()->getStoreId()); } /** * Return template id * * @return mixed */ public function getTemplateId() { return $this->getConfigValue(self::XML_PATH_EMAIL_TEMPLATE, $this->getStore()->getStoreId()); } /** * Return email identity * * @return mixed */ public function getEmailIdentity() { return $this->getConfigValue(self::XML_PATH_EMAIL_IDENTITY, $this->getStore()->getStoreId()); } }