diff --git a/Block/Adminhtml/AbandonedCart/Edit/Form.php b/Block/Adminhtml/AbandonedCart/Edit/Form.php
index 3010212..c0fb0d2 100644
--- a/Block/Adminhtml/AbandonedCart/Edit/Form.php
+++ b/Block/Adminhtml/AbandonedCart/Edit/Form.php
@@ -256,7 +256,7 @@ public function createOptions(array $options)
*/
public function getEmailTemplateOptions()
{
- $this->emailTemplate->setPath('mpsmtp_abandoned_cart_email_template');
+ $this->emailTemplate->setPath('mpsmtp_abandoned_cart_email_templates');
return $this->createOptions($this->emailTemplate->toOptionArray());
}
diff --git a/Plugin/Model/Template/Config.php b/Plugin/Model/Template/Config.php
index a1583da..b5e873e 100644
--- a/Plugin/Model/Template/Config.php
+++ b/Plugin/Model/Template/Config.php
@@ -37,7 +37,7 @@ class Config
*/
public function afterGetAvailableTemplates(EmailConfig $subject, $templates)
{
- $key = array_search('mpsmtp_abandoned_cart_email_template', array_column($templates, 'value'));
+ $key = array_search('mpsmtp_abandoned_cart_email_templates', array_column($templates, 'value'));
unset($templates[$key]);
return $templates;