{"id":100,"date":"2017-04-04T13:07:38","date_gmt":"2017-04-04T13:07:38","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?p=100"},"modified":"2023-07-04T12:05:23","modified_gmt":"2023-07-04T12:05:23","slug":"set-priority","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/","title":{"rendered":"How to set a priority rule to show Thank You pages"},"content":{"rendered":"\n<p>Even though you have created and set up different Thank You pages on your shop, only one of them will show to the user. Yet, when creating the rule, you will be able to set the priority when more than one rule applies to the same product.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"320\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg\" alt=\"\" class=\"wp-image-774\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg 648w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3-300x148.jpg 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/figure><\/div>\n\n\n<div class=\"alert alert-info\">By default, the priority applies based on the following rule conditions:<br>1. <strong><em>payment method:&nbsp;<\/em><\/strong>priority is given to the Thank You page linked to the payment method the customer chooses. If there is no payment method rule created or enabled, the system will first check to see if there is a <em>Product Thank You page<\/em>, then a <em>Product Category Thank You page,<\/em> and finally a <em>General Thank You page<\/em>.<br>2. <strong>product:&nbsp;<\/strong>priority is given to the Thank You page linked to the purchased product. In case there is no product rule created or enabled, the <em>Category Thank You page<\/em> will show or, if none is available, the <em>General<\/em> one.<br>3. <strong>category:&nbsp;<\/strong>priority is given to the Thank You page linked to the product category to which the product belongs. In case there is no category rule created or enabled, the system will show the <em>General Thank You page<\/em>.<br>4. <strong>general options:&nbsp;<\/strong>the <em>General Thank You page<\/em> will show only if no rule has been created or enabled or if none of the above-mentioned default priority rules applies to the purchased product.<\/div>\n\n\n\n<p>For example, if you have created a product rule to show a custom Thank you page to users buying <em>product A<\/em> and a payment method rule to show a custom Thank You page to users paying with a <em>credit card<\/em>, when a customer purchases <em>product A<\/em> and pays with <em>PayPal<\/em>, the Thank You page shown will be the one defined in the product rule since the payment rule won&#8217;t be applied.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even though you have created and set up different Thank You pages on your shop, only one of them will show to the user. Yet, when creating the rule, you will be able to set the priority when more than one rule applies to the same product. By default, the priority applies based on the &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to set a priority rule to show Thank You pages<\/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,13],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-plugin-settings","category-rules"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Custom Thank You Page: How to set a priority rule to show Thank You pages<\/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-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Custom Thank You Page: How to set a priority rule to show Thank You pages\" \/>\n<meta property=\"og:description\" content=\"Even though you have created and set up different Thank You pages on your shop, only one of them will show to the user. Yet, when creating the rule, you will be able to set the priority when more than one rule applies to the same product. By default, the priority applies based on the &hellip; Continue reading How to set a priority rule to show Thank You pages\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Custom Thank You Page for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-04T13:07:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-04T12:05:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.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-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\",\"name\":\"YITH Custom Thank You Page: How to set a priority rule to show Thank You pages\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg\",\"datePublished\":\"2017-04-04T13:07:38+00:00\",\"dateModified\":\"2023-07-04T12:05:23+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg\",\"width\":648,\"height\":320},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set a priority rule to show Thank You pages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/\",\"name\":\"YITH Custom Thank You Page for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?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-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/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-custom-thank-you-page-for-woocommerce\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Custom Thank You Page: How to set a priority rule to show Thank You pages","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-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/","og_locale":"en_US","og_type":"article","og_title":"YITH Custom Thank You Page: How to set a priority rule to show Thank You pages","og_description":"Even though you have created and set up different Thank You pages on your shop, only one of them will show to the user. Yet, when creating the rule, you will be able to set the priority when more than one rule applies to the same product. By default, the priority applies based on the &hellip; Continue reading How to set a priority rule to show Thank You pages","og_url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/","og_site_name":"YITH Custom Thank You Page for WooCommerce","article_published_time":"2017-04-04T13:07:38+00:00","article_modified_time":"2023-07-04T12:05:23+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.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-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/","name":"YITH Custom Thank You Page: How to set a priority rule to show Thank You pages","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg","datePublished":"2017-04-04T13:07:38+00:00","dateModified":"2023-07-04T12:05:23+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/37.rule-priority-3.jpg","width":648,"height":320},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/rules\/set-priority\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"How to set a priority rule to show Thank You pages"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/","name":"YITH Custom Thank You Page for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?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-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/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-custom-thank-you-page-for-woocommerce\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":13,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":775,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/100\/revisions\/775"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}