{"id":849,"date":"2018-11-15T20:45:28","date_gmt":"2018-11-15T15:15:28","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/"},"modified":"2024-10-17T02:36:58","modified_gmt":"2024-10-16T21:06:58","slug":"short-codes","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/","title":{"rendered":"Short-codes"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Shortcodes for Content Template<\/h2>\n\n\n\n<p>The <strong>Recent Sales Popup<\/strong> module allows you to customize your notification message using various shortcodes. These shortcodes will be dynamically replaced with the actual order information, creating a personalized message for your customers. Below is a list of available shortcodes and their descriptions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Available Shortcodes:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Shortcode<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong>{product_name}<\/strong><\/td><td>Displays the product name<\/td><\/tr><tr><td><strong>{customer_firstname}<\/strong><\/td><td>Displays the customer&#8217;s first name<\/td><\/tr><tr><td><strong>{customer_lastname}<\/strong><\/td><td>Displays the customer&#8217;s last name<\/td><\/tr><tr><td><strong>{zone}<\/strong><\/td><td>Displays the customer&#8217;s state\/zone<\/td><\/tr><tr><td><strong>{city}<\/strong><\/td><td>Displays the customer&#8217;s city<\/td><\/tr><tr><td><strong>{country}<\/strong><\/td><td>Displays the customer&#8217;s country<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Examples of How to Use Shortcodes:<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Example 1:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   Someone from {city}, {country} recently purchased {product_name}<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><br><em>Someone from Mumbai, India recently purchased iPhone 14<\/em><\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Example 2:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   {customer_firstname} from {zone}, {country} bought {product_name}<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><br><em>John from California, USA bought MacBook Pro<\/em><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Example 3:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   {customer_firstname} {customer_lastname} just ordered {product_name} from {city}, {zone}<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><br><em>Jane Doe just ordered Samsung Galaxy S23 from Berlin, Berlin<\/em><\/p>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>Example 4:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   A new order for {product_name} has been placed by {customer_firstname} from {country}!<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><br><em>A new order for Nike Air Max has been placed by Alex from UK!<\/em><\/p>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>Example 5:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   {customer_firstname} in {city}, {country} recently bought {product_name}. Shop now!<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><br><em>David in Sydney, Australia recently bought PlayStation 5. Shop now!<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Tips for Using Shortcodes:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Combine different shortcodes to create engaging and personalized messages.<\/li>\n\n\n\n<li>Use shortcodes that are most relevant to your audience to build trust and excitement.<\/li>\n\n\n\n<li>Ensure you are only using the allowed shortcodes in your content template to prevent errors.<\/li>\n<\/ul>\n\n\n\n<p><style type=\"text\/css\">&lt;br>input[type=\"text\"]{&amp;lt;br \/>&lt;br>border: 1px solid #fff !important;&amp;lt;br \/>&lt;br>}<\/style><\/p>\n","protected":false},"featured_media":0,"parent":846,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-849","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>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\/recent-sales-popup-alert\/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=\"Shortcodes for Content Template The Recent Sales Popup module allows you to customize your notification message using various shortcodes. These shortcodes will be dynamically replaced with the actual order information, creating a personalized message for your customers. Below is a list of available shortcodes and their descriptions. Available Shortcodes: Shortcode Description {product_name} Displays the product [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/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=\"2024-10-16T21:06:58+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/short-codes\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/short-codes\\\/\",\"name\":\"Short-codes - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"datePublished\":\"2018-11-15T15:15:28+00:00\",\"dateModified\":\"2024-10-16T21:06:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/short-codes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/short-codes\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/short-codes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Recent Sales Popup Alert\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/recent-sales-popup-alert\\\/\"},{\"@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\/recent-sales-popup-alert\/short-codes\/","og_locale":"en_US","og_type":"article","og_title":"Short-codes - HuntBee Resources","og_description":"Shortcodes for Content Template The Recent Sales Popup module allows you to customize your notification message using various shortcodes. These shortcodes will be dynamically replaced with the actual order information, creating a personalized message for your customers. Below is a list of available shortcodes and their descriptions. Available Shortcodes: Shortcode Description {product_name} Displays the product [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2024-10-16T21:06:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/","name":"Short-codes - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"datePublished":"2018-11-15T15:15:28+00:00","dateModified":"2024-10-16T21:06:58+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/short-codes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Recent Sales Popup Alert","item":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/"},{"@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\/849","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=849"}],"version-history":[{"count":2,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/849\/revisions"}],"predecessor-version":[{"id":4071,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/849\/revisions\/4071"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/846"}],"next":[{"title":"Options \/ Setup","link":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/options-setup\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/851"}],"prev":[{"title":"Installation","link":"https:\/\/www.huntbee.com\/resources\/docs\/recent-sales-popup-alert\/installation\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/847"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=849"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}