{"id":105,"date":"2018-03-08T10:57:20","date_gmt":"2018-03-08T10:57:20","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/?p=105"},"modified":"2023-04-28T10:50:39","modified_gmt":"2023-04-28T10:50:39","slug":"deadline-message-type","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/","title":{"rendered":"&#8220;Deadline&#8221; message type"},"content":{"rendered":"<p>The <b>&#8220;Deadline&#8221;<\/b> message type can be used to notify the user of the time remaining before an active offer on your site expires.<br \/>\nFollow these essential steps to configure this message type in the correct way.<\/p>\n<ol>\n<li>insert the message text by taking advantage of the &#8220;{time_remain}&#8221; placeholder that allows showing the time remaining before the expiration<\/li>\n<li>specify the daily deadline of the message through the <b>&#8220;Deadline hour&#8221;<\/b> entry, considering the message will start to be shown from midnight until the specified time.<\/li>\n<li>specify the days on which you want to show the message<\/li>\n<\/ol>\n<p><b>Let&#8217;s make an example<\/b>. We want to show the message on Monday, Tuesday, Wednesday, Thursday, and Friday until 22:00. The values have to be set as follows:<\/p>\n<ul>\n<li><b>Deadline hour<\/b>: 22<\/li>\n<li><b>Deadline days<\/b>: Monday, Tuesday,Wednesday, Thursday, Friday<\/li>\n<\/ul>\n<p><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-262\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\" alt=\"Deadline message\" width=\"1428\" height=\"1366\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg 1428w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-300x287.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-1024x980.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-768x735.jpg 768w\" sizes=\"auto, (max-width: 1428px) 100vw, 1428px\" \/><\/a><\/p>\n<p>Supposing to view the message on Friday at 10:46, it will show as follows.<\/p>\n<p><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-263\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248.jpg\" alt=\"Deadline message example\" width=\"1800\" height=\"618\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248.jpg 1800w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248-300x103.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248-1024x352.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248-768x264.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline-frontend-e1682678941248-1536x527.jpg 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/a><\/p>\n<div class=\"alert alert-info\" role=\"alert\">By using the placeholder <b>{user_name}<\/b> you can enter in a message the username user.<br \/>\nIt can only be shown in the case in which the user is logged.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Deadline&#8221; message type can be used to notify the user of the time remaining before an active offer on your site expires. Follow these essential steps to configure this message type in the correct way. insert the message text by taking advantage of the &#8220;{time_remain}&#8221; placeholder that allows showing the time remaining before the &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">&#8220;Deadline&#8221; message type<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Cart Messages: &quot;Deadline&quot; message type<\/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:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Cart Messages: &quot;Deadline&quot; message type\" \/>\n<meta property=\"og:description\" content=\"The &#8220;Deadline&#8221; message type can be used to notify the user of the time remaining before an active offer on your site expires. Follow these essential steps to configure this message type in the correct way. insert the message text by taking advantage of the &#8220;{time_remain}&#8221; placeholder that allows showing the time remaining before the &hellip; Continue reading &#8220;Deadline&#8221; message type\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Cart Messages\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-08T10:57:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-28T10:50:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\",\"name\":\"YITH Cart Messages: \\\"Deadline\\\" message type\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\",\"datePublished\":\"2018-03-08T10:57:20+00:00\",\"dateModified\":\"2023-04-28T10:50:39+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"&#8220;Deadline&#8221; message type\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/\",\"name\":\"YITH WooCommerce Cart Messages\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Cart Messages: \"Deadline\" message type","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:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/","og_locale":"en_US","og_type":"article","og_title":"YITH Cart Messages: \"Deadline\" message type","og_description":"The &#8220;Deadline&#8221; message type can be used to notify the user of the time remaining before an active offer on your site expires. Follow these essential steps to configure this message type in the correct way. insert the message text by taking advantage of the &#8220;{time_remain}&#8221; placeholder that allows showing the time remaining before the &hellip; Continue reading &#8220;Deadline&#8221; message type","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/","og_site_name":"YITH WooCommerce Cart Messages","article_published_time":"2018-03-08T10:57:20+00:00","article_modified_time":"2023-04-28T10:50:39+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/","name":"YITH Cart Messages: \"Deadline\" message type","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg","datePublished":"2018-03-08T10:57:20+00:00","dateModified":"2023-04-28T10:50:39+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-content\/uploads\/sites\/80\/2018\/03\/deadline.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/settings\/deadline-message-type\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/"},{"@type":"ListItem","position":2,"name":"&#8220;Deadline&#8221; message type"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/","name":"YITH WooCommerce Cart Messages","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":3,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":264,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/posts\/105\/revisions\/264"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-cart-messages\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}