{"id":473,"date":"2018-01-08T11:33:03","date_gmt":"2018-01-08T06:03:03","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/"},"modified":"2021-03-25T12:42:05","modified_gmt":"2021-03-25T07:12:05","slug":"email-user-template-mapping","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/","title":{"rendered":"Email User Template Mapping"},"content":{"rendered":"<p>This section is used to map the email templates for customer \/ affiliate account&nbsp;related emails like registration successful email, forgot password email, reward points email, voucher email, order return email, etc.<\/p>\n<p>This section cannot be used for any order status or order confirmation email. We have another section (extension) to do this job exclusively.<\/p>\n<h3>How to Use<\/h3>\n<ol>\n<li>Go to Extensions &gt; Extensions &gt; Productivity Apps &gt; Email User Template Mapping<\/li>\n<li>First create an <a href=\"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/creating-an-email-template\/\" target=\"_blank\" rel=\"noopener noreferrer\">email template<\/a>. <em>(Use the available shortcode for user personalization)<\/em><\/li>\n<li>After creating the template, assign \/ map the template to respective email activity<\/li>\n<\/ol>\n<p>For OpenCart 2.x.x.x versions, the ocmod makes the neccassary modification to appropriate files.<\/p>\n<p>For Opencart 3.x.x.x versions, ocmod is not used to make any modifications. Instead it is using the OpenCart&#8217;s new mailing concept, i.e., sending email using&nbsp;<strong>Events<\/strong>. Therefore to enable using the&nbsp;Email User Template Mapping you will need to disable the exisiting events and enable the events of this extension. To enable\/disable events in opencart 3.x.x.x versions, go to Extensions &gt; Events.<\/p>\n<p><span style=\"color: #008080;\"><strong>For example,<\/strong><\/span> you have created template for customer account registration and mapped the template in the extension. To enable or make sure this particular template goes to the customer and not the default opencart mail, then you need to enable&nbsp;<em><strong>hb_mail_customer_add <\/strong><\/em>and disable&nbsp;<em><strong>mail_customer_add<\/strong><\/em><\/p>\n<p>Refer the following table to enable \/ disable events for appropriate template mapping<\/p>\n<table class=\"table\" cellspacing=\"5\" cellpadding=\"10\">\n<thead>\n<tr>\n<th scope=\"row\">Email Type<\/th>\n<th scope=\"col\">Enable Event<\/th>\n<th scope=\"col\">Disable Event<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th scope=\"row\">Customer Account Registration<\/th>\n<td>hb_mail_customer_add<\/td>\n<td>mail_customer_add<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Admin Add Customer<\/th>\n<td>hb_admin_mail_customer_add<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Account Registration Admin Alert<\/th>\n<td>hb_mail_customer_alert<\/td>\n<td>mail_customer_alert<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Account Approved<\/th>\n<td>hb_admin_mail_customer_approve<\/td>\n<td>admin_mail_customer_approve<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Account Denied<\/th>\n<td>hb_admin_mail_customer_deny<\/td>\n<td>admin_mail_customer_deny<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Account Credit<\/th>\n<td>hb_admin_mail_transaction<\/td>\n<td>admin_mail_transaction<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Forgot Password<\/th>\n<td>hb_mail_forgotten<\/td>\n<td>mail_forgotten<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Reward<\/th>\n<td>hb_admin_mail_reward<\/td>\n<td>admin_mail_reward<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Voucher<\/th>\n<td>hb_mail_voucher<\/td>\n<td>mail_voucher<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Order Return Confirmation to customer<\/th>\n<td>hb_mail_return_confirmation<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Return History Update by admin<\/th>\n<td>hb_admin_mail_return_status<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Add Return admin alert<\/th>\n<td>hb_mail_return_admin_alert<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Customer Order Return (from admin panel)<\/th>\n<td>hb_admin_mail_return<\/td>\n<td>admin_mail_return<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Affiliate Account Registration<\/th>\n<td>hb_mail_affiliate_add<\/td>\n<td>mail_affiliate_add<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Affiliate Account Registration Admin Alert<\/th>\n<td>hb_mail_affiliate_alert<\/td>\n<td>mail_affiliate_alert<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Affiliate Account Approved<\/th>\n<td>hb_admin_mail_affiliate_approve<\/td>\n<td>admin_mail_affiliate_approve<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Affiliate Account Denied<\/th>\n<td>hb_admin_mail_affiliate_deny<\/td>\n<td>admin_mail_affiliate_deny<\/td>\n<\/tr>\n<tr>\n<th scope=\"row\">Affiliate Account Transaction<\/th>\n<td>hb_mail_transaction<\/td>\n<td>mail_transaction<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h3>Video Demonstration<\/h3>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/yfiZggb4exw?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":0,"parent":467,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-473","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Email User Template Mapping - HuntBee Resources<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Email User Template Mapping - HuntBee Resources\" \/>\n<meta property=\"og:description\" content=\"This section is used to map the email templates for customer \/ affiliate account&nbsp;related emails like registration successful email, forgot password email, reward points email, voucher email, order return email, etc. This section cannot be used for any order status or order confirmation email. We have another section (extension) to do this job exclusively. How [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/\" \/>\n<meta property=\"og:site_name\" content=\"HuntBee Resources\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/huntbee.opencart\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-25T07:12:05+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/email-user-template-mapping\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/email-user-template-mapping\\\/\",\"name\":\"Email User Template Mapping - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"datePublished\":\"2018-01-08T06:03:03+00:00\",\"dateModified\":\"2021-03-25T07:12:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/email-user-template-mapping\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/email-user-template-mapping\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/email-user-template-mapping\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Email Template Designer Pro\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/email-template-designer-pro\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Email User Template Mapping\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"name\":\"HuntBee Resources\",\"description\":\"OpenCart Extension Documentations - Guides - Blogs - Projects\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\",\"name\":\"HuntBee OpenCart\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"contentUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"width\":945,\"height\":200,\"caption\":\"HuntBee OpenCart\"},\"image\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/huntbee.opencart\",\"https:\\\/\\\/www.instagram.com\\\/opencart.huntbee\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Email User Template Mapping - HuntBee Resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/","og_locale":"en_US","og_type":"article","og_title":"Email User Template Mapping - HuntBee Resources","og_description":"This section is used to map the email templates for customer \/ affiliate account&nbsp;related emails like registration successful email, forgot password email, reward points email, voucher email, order return email, etc. This section cannot be used for any order status or order confirmation email. We have another section (extension) to do this job exclusively. How [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2021-03-25T07:12:05+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/","name":"Email User Template Mapping - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"datePublished":"2018-01-08T06:03:03+00:00","dateModified":"2021-03-25T07:12:05+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-user-template-mapping\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Email Template Designer Pro","item":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/"},{"@type":"ListItem","position":3,"name":"Email User Template Mapping"}]},{"@type":"WebSite","@id":"https:\/\/www.huntbee.com\/resources\/#website","url":"https:\/\/www.huntbee.com\/resources\/","name":"HuntBee Resources","description":"OpenCart Extension Documentations - Guides - Blogs - Projects","publisher":{"@id":"https:\/\/www.huntbee.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.huntbee.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.huntbee.com\/resources\/#organization","name":"HuntBee OpenCart","url":"https:\/\/www.huntbee.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","contentUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","width":945,"height":200,"caption":"HuntBee OpenCart"},"image":{"@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/huntbee.opencart","https:\/\/www.instagram.com\/opencart.huntbee\/"]}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":6,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/473\/revisions"}],"predecessor-version":[{"id":1572,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/473\/revisions\/1572"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/467"}],"next":[{"title":"Email Groups","link":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/email-groups\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/479"}],"prev":[{"title":"Creating an Email Template","link":"https:\/\/www.huntbee.com\/resources\/docs\/email-template-designer-pro\/creating-an-email-template\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/476"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}