{"id":545,"date":"2018-02-12T20:59:43","date_gmt":"2018-02-12T15:29:43","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/"},"modified":"2021-11-08T01:19:51","modified_gmt":"2021-11-07T19:49:51","slug":"short-codes","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/","title":{"rendered":"Short-codes"},"content":{"rendered":"\n<p class=\"has-vivid-red-color has-text-color\">Short-codes based on Order Information (<em>for extension version 5+<\/em>)<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"table table-hover\"><tbody><tr><td><strong>Short-code<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>{order_id}<\/td><td>Order ID<\/td><\/tr><tr><td>{link}<\/td><td>Customer Order Info view link<\/td><\/tr><tr><td>{email_subject}<\/td><td>Email Subject. (Usually used for Email Title in the Email Head section)<\/td><\/tr><tr><td>{admin_comment}<\/td><td>Comment added by admin<\/td><\/tr><tr><td>{date_added}<\/td><td>Order Date <\/td><\/tr><tr><td>{order_status}<\/td><td>Order Status<\/td><\/tr><tr><td>{order_total}<\/td><td>Order Total<\/td><\/tr><tr><td>{payment_address}<\/td><td>Payment Address<\/td><\/tr><tr><td>{shipping_address}<\/td><td>Shipping Address<\/td><\/tr><tr><td>{order_id}<\/td><td>Order ID<\/td><\/tr><tr><td>{invoice_no}<\/td><td>Invoice Number<\/td><\/tr><tr><td>{invoice_prefix}<\/td><td>Invoice Prefix<\/td><\/tr><tr><td>{store_id}<\/td><td>Store ID<\/td><\/tr><tr><td>{store_name}<\/td><td>Store Name<\/td><\/tr><tr><td>{store_url}<\/td><td>Store URL<\/td><\/tr><tr><td>{customer_id}<\/td><td>Customer ID<\/td><\/tr><tr><td>{firstname}<\/td><td>Customer First Name<\/td><\/tr><tr><td>{lastname}<\/td><td>Customer Last Name<\/td><\/tr><tr><td>{email}<\/td><td>Customer Email<\/td><\/tr><tr><td>{telephone}<\/td><td>Customer Telephone<\/td><\/tr><tr><td>{comment}<\/td><td>Customer Comment added in the order<\/td><\/tr><tr><td>{total}<\/td><td>Total amount without formatting<\/td><\/tr><tr><td>{date_modified}<\/td><td>Last modified date<\/td><\/tr><tr><td>{products_table}<\/td><td>List of Ordered Products and Order Total in table format<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><em><strong>More short-codes: Enclose the variable with {}<\/strong><\/em><\/p>\n\n\n\n<p>payment_firstname, payment_lastname, payment_company, payment_address_1, payment_address_2, payment_postcode, payment_city, payment_zone_id, payment_zone, payment_zone_code, payment_country_id, payment_country, payment_iso_code_2, payment_iso_code_3, payment_method, payment_code, shipping_firstname, shipping_lastname, shipping_company, shipping_address_1, shipping_address_2, shipping_postcode, shipping_city, shipping_zone_id, shipping_zone, shipping_zone_code, shipping_country_id, shipping_country, shipping_iso_code_2, shipping_iso_code_3, shipping_address_format, shipping_method, shipping_code, order_status_id, order_status, affiliate_id, commission, language_id, language_code, currency_id, currency_code, currency_value, customer_group_id, ip, forwarded_ip, user_agent, accept_language<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\">Short-codes based on Store Configuration (<em>for extension version 5+<\/em>)<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"table table-hover\"><tbody><tr><td><strong>Short-code<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>{config_name}<\/td><td>Store Name<\/td><\/tr><tr><td>{config_owner}<\/td><td>Store Owner<\/td><\/tr><tr><td>{config_address}<\/td><td>Store Address<\/td><\/tr><tr><td>{config_geocode}<\/td><td>Store Geocode<\/td><\/tr><tr><td>{config_email}<\/td><td>Store Email Address<\/td><\/tr><tr><td>{config_address}<\/td><td>Store Address<\/td><\/tr><tr><td>{config_telephone}<\/td><td>Store Telephone<\/td><\/tr><tr><td>{config_fax}<\/td><td>Store Fax<\/td><\/tr><tr><td>{config_open}<\/td><td>Store Opening Hours<\/td><\/tr><tr><td>{config_comment}<\/td><td>Store Comment<\/td><\/tr><tr><td>{config_meta_title}<\/td><td>Store Meta Title<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\">Short-codes for Special Blocks (<em>for extension version 5+<\/em>)<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"table table-hover\"><tbody><tr><td><strong>Short-code<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>{payment_info}<\/td><td>Information block based on the selected payment method by the customer<\/td><\/tr><tr><td>{shipping_info}<\/td><td>Information block based on the selected shipping method by the customer<\/td><\/tr><tr><td>{customer_group_info}<\/td><td>Information block based on the Customer Group of the customer<\/td><\/tr><tr><td>{downloads_info}<\/td><td>Information block if the order contains any downloadable products<\/td><\/tr><tr><td>{customer_info}<\/td><td>Information block for registered customers<\/td><\/tr><tr><td>{first_purchase_info}<\/td><td>Information block for the first time buyers<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Order shipment Shortcodes<\/h2>\n\n\n\n<p>To use the following short-codes, you must have installed <a rel=\"noreferrer noopener\" href=\"https:\/\/www.huntbee.com\/shipment-courier-details-tracker\" target=\"_blank\">Shipment Details Tracker<\/a> Extension<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"table table-hover\"><tbody><tr><td><strong>Short-code<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>{tracking_id}<\/td><td>Tracking ID or Consignment ID or Number for the shipment<\/td><\/tr><tr><td>{tracking_link}<\/td><td>Tracking Link \/ URL for the shipment<\/td><\/tr><tr><td>{shipment_partner}<\/td><td>Logistics or shipment Service Provider for the particular product\/order<\/td><\/tr><tr><td>{delivery_date}<\/td><td>Expected Delivery Date<\/td><\/tr><tr><td>{shipped_products}<\/td><td>List of products shipped (Ordered List)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Cross Selling Products Short-code<\/h3>\n\n\n\n<figure class=\"wp-block-table table table-bordered\"><table class=\"table table-hover\"><thead><tr><td>Short-code<\/td><td>Info<\/td><td>Email Body<\/td><td>Email Subject<\/td><td>Admin Comments<\/td><\/tr><\/thead><tbody><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{latest_products}\"><\/td><td>Latest Products in Store<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{bestseller_products}\"><\/td><td>Best-selling Products in Store<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{popular_products}\"><\/td><td>Popular \/ Most viewed Products in Store<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{featured_products}\"><\/td><td>Featured Products in Store<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{random_products}\"><\/td><td>Random Products in Store<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{brand_products}\"><\/td><td>Related Products by Manufacturer \/ Brands<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{category_products}\"><\/td><td>Related Products by Categories<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{related_products}\"><\/td><td>Related Products assigned<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{autorelated_products}\"><\/td><td>Automatic Related Products<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><tr><td><input readonly=\"readonly\" type=\"text\" value=\"{also_bought}\"><\/td><td>Customer who bought this product (in the order) also bought<\/td><td><span style=\"color: green;\">YES<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><td><span style=\"color: red;\">NA<\/span><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":0,"parent":195,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-545","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Short-codes - 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\/order-status-email-template\/short-codes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Short-codes - HuntBee Resources\" \/>\n<meta property=\"og:description\" content=\"Short-codes based on Order Information (for extension version 5+) Short-code Description {order_id} Order ID {link} Customer Order Info view link {email_subject} Email Subject. (Usually used for Email Title in the Email Head section) {admin_comment} Comment added by admin {date_added} Order Date {order_status} Order Status {order_total} Order Total {payment_address} Payment Address {shipping_address} Shipping Address {order_id} Order [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/\" \/>\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-11-07T19:49:51+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\\\/order-status-email-template\\\/short-codes\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/order-status-email-template\\\/short-codes\\\/\",\"name\":\"Short-codes - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"datePublished\":\"2018-02-12T15:29:43+00:00\",\"dateModified\":\"2021-11-07T19:49:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/order-status-email-template\\\/short-codes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/order-status-email-template\\\/short-codes\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/order-status-email-template\\\/short-codes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order Status Email\\\/SMS Template\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/order-status-email-template\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Short-codes\"}]},{\"@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":"Short-codes - 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\/order-status-email-template\/short-codes\/","og_locale":"en_US","og_type":"article","og_title":"Short-codes - HuntBee Resources","og_description":"Short-codes based on Order Information (for extension version 5+) Short-code Description {order_id} Order ID {link} Customer Order Info view link {email_subject} Email Subject. (Usually used for Email Title in the Email Head section) {admin_comment} Comment added by admin {date_added} Order Date {order_status} Order Status {order_total} Order Total {payment_address} Payment Address {shipping_address} Shipping Address {order_id} Order [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2021-11-07T19:49:51+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\/order-status-email-template\/short-codes\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/","name":"Short-codes - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"datePublished":"2018-02-12T15:29:43+00:00","dateModified":"2021-11-07T19:49:51+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/short-codes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Order Status Email\/SMS Template","item":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/"},{"@type":"ListItem","position":3,"name":"Short-codes"}]},{"@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\/545","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=545"}],"version-history":[{"count":19,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/545\/revisions"}],"predecessor-version":[{"id":2365,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/545\/revisions\/2365"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/195"}],"next":[{"title":"Admin Order Alert Email","link":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/admin-order-alert-email\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/2406"}],"prev":[{"title":"Setup","link":"https:\/\/www.huntbee.com\/resources\/docs\/order-status-email-template\/setup\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/196"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=545"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}