Skip to content

Commit

Permalink
add name and type to the tag
Browse files Browse the repository at this point in the history
closes #423
  • Loading branch information
gonzaloebiz committed Oct 10, 2018
1 parent a7f7dd1 commit 25bafb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/Adminhtml/System/Config/Form/Field/MailchimpMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 25bafb6

Please sign in to comment.