From 25bafb647e53496ac2ca48cc0ec180198b26aa52 Mon Sep 17 00:00:00 2001 From: gonzalo Date: Wed, 10 Oct 2018 14:49:41 -0300 Subject: [PATCH] add name and type to the tag closes #423 --- Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php b/Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php index b197971d..82285836 100644 --- a/Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php +++ b/Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php @@ -49,7 +49,7 @@ protected function _getMailchimpTags() $api = $this->_helper->getApi($this->_storeManager->getStore()->getId()); $merge = $api->lists->mergeFields->getAll($this->_helper->getConfigValue(\Ebizmarts\MailChimp\Helper\Data::XML_PATH_LIST)); foreach($merge['merge_fields'] as $item) { - $ret[$item['tag']] = $item['tag']; + $ret[$item['tag']] = $item['tag'].' ('.$item['name'].' : '.$item['type'].')'; } return $ret; }