{"id":138,"date":"2018-10-04T18:10:49","date_gmt":"2018-10-04T18:10:49","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/?p=138"},"modified":"2025-04-22T14:08:25","modified_gmt":"2025-04-22T14:08:25","slug":"yith-automatic-role-changer","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/","title":{"rendered":"YITH Automatic Role Changer"},"content":{"rendered":"\n<p><a href=\"https:\/\/yithemes.com\/themes\/plugins\/yith-woocommerce-automatic-role-changer\" target=\"_blank\" rel=\"noopener\">YITH Automatic Role Changer for WooCommerce<\/a> allows you to&nbsp;automatically assign a new role to your users or replace the one they had. Just configure the condition that will let them get a new role or switch from one to the other, choosing from the following ones:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the user purchases a specific product<\/li>\n\n\n\n<li>the order total is within a certain price range<\/li>\n\n\n\n<li>the customer&#8217;s total spend falls within a certain price range<\/li>\n\n\n\n<li>the user purchases products from specific categories or tags.<\/li>\n<\/ul>\n\n\n\n<p><span class=\"more opened\">The integration with YITH Role Based Prices allows you to forget about changing roles manually and automate your marketing strategies:&nbsp;<strong>your users will automatically see the updated price<\/strong> if they buy a given product, make a total spend, etc.<\/span><\/p>\n\n\n\n<p>To start using both plugins together, all you have to do is to activate both of them from the&nbsp;<strong>Plugins&nbsp;<\/strong>page in your WordPress dashboard.<\/p>\n\n\n\n<p>Then, start configuring automatic change rules as explained in detail on <a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/premium-settings\/add-new-rule\/\">this page<\/a>.<\/p>\n\n\n\n<p class=\"is-style-alert-info\"><strong>Please note:<\/strong> to make the role-based price show correctly, make sure that your users have no more than one role assigned. If they happen to have more than one user role at the same time, no role-based prices will be shown.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<p>Configure a Price rule with YITH Role Based Prices plugin.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>10% off for the role\u00a0<strong>New customer<\/strong><\/li>\n\n\n\n<li>20% off for the role\u00a0<strong>Returning customer<\/strong><\/li>\n\n\n\n<li>50% off for the role\u00a0<strong>Loyal customer<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"1428\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\" alt=\"Automatic role changer example - Price rule\" class=\"wp-image-515\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg 1226w, https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example-258x300.jpg 258w, https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example-879x1024.jpg 879w, https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example-768x895.jpg 768w\" sizes=\"auto, (max-width: 1226px) 100vw, 1226px\" \/><\/a><\/figure>\n\n\n\n<p>Then, create the switch rules from YITH Automatic Role Changer settings panel:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Switch from\u00a0<strong>New customer\u00a0<\/strong>to\u00a0<strong>Returning customer\u00a0<\/strong>if the customer\u2019s total spend exceeds \u00a3500.<\/li>\n\n\n\n<li>Switch from\u00a0<strong>Returning customer\u00a0<\/strong>to\u00a0<strong>Loyal customer\u00a0<\/strong>if the customer\u2019s total spend exceeds \u20ac1,000.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/17.role-based-prices-example.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/17.role-based-prices-example.jpg\" alt=\"Role based prices example\" class=\"wp-image-495\"\/><\/a><\/figure>\n\n\n\n<p>If you want to read more about how to configure YITH Automatic Role Changer for WooCommerce, please, refer to the <a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/\">plugin official documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>YITH Automatic Role Changer for WooCommerce allows you to&nbsp;automatically assign a new role to your users or replace the one they had. Just configure the condition that will let them get a new role or switch from one to the other, choosing from the following ones: The integration with YITH Role Based Prices allows you &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">YITH Automatic Role Changer<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-integrations","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 Role Based Prices: YITH Automatic Role Changer<\/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-role-based-prices\/settings\/yith-automatic-role-changer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Role Based Prices: YITH Automatic Role Changer\" \/>\n<meta property=\"og:description\" content=\"YITH Automatic Role Changer for WooCommerce allows you to&nbsp;automatically assign a new role to your users or replace the one they had. Just configure the condition that will let them get a new role or switch from one to the other, choosing from the following ones: The integration with YITH Role Based Prices allows you &hellip; Continue reading YITH Automatic Role Changer\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Role Based Prices\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-04T18:10:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-22T14:08:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1226\" \/>\n\t<meta property=\"og:image:height\" content=\"1428\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ausilia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ausilia\" \/>\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-role-based-prices\/settings\/yith-automatic-role-changer\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/\",\"name\":\"YITH Role Based Prices: YITH Automatic Role Changer\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\",\"datePublished\":\"2018-10-04T18:10:49+00:00\",\"dateModified\":\"2025-04-22T14:08:25+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#\/schema\/person\/5689fc6012d168000704e80bf26087da\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg\",\"width\":1226,\"height\":1428,\"caption\":\"Automatic role changer example - Price rule\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YITH Automatic Role Changer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/\",\"name\":\"YITH WooCommerce Role Based Prices\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/?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-role-based-prices\/#\/schema\/person\/5689fc6012d168000704e80bf26087da\",\"name\":\"ausilia\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b8d070e41e47a70dee7611c4d905ff05?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b8d070e41e47a70dee7611c4d905ff05?s=96&d=mm&r=g\",\"caption\":\"ausilia\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/author\/ausilia\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Role Based Prices: YITH Automatic Role Changer","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-role-based-prices\/settings\/yith-automatic-role-changer\/","og_locale":"en_US","og_type":"article","og_title":"YITH Role Based Prices: YITH Automatic Role Changer","og_description":"YITH Automatic Role Changer for WooCommerce allows you to&nbsp;automatically assign a new role to your users or replace the one they had. Just configure the condition that will let them get a new role or switch from one to the other, choosing from the following ones: The integration with YITH Role Based Prices allows you &hellip; Continue reading YITH Automatic Role Changer","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/","og_site_name":"YITH WooCommerce Role Based Prices","article_published_time":"2018-10-04T18:10:49+00:00","article_modified_time":"2025-04-22T14:08:25+00:00","og_image":[{"width":1226,"height":1428,"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg","type":"image\/jpeg"}],"author":"ausilia","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ausilia","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/","name":"YITH Role Based Prices: YITH Automatic Role Changer","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg","datePublished":"2018-10-04T18:10:49+00:00","dateModified":"2025-04-22T14:08:25+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#\/schema\/person\/5689fc6012d168000704e80bf26087da"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-content\/uploads\/sites\/350\/2024\/10\/19.automatic-role-changer-example.jpg","width":1226,"height":1428,"caption":"Automatic role changer example - Price rule"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/settings\/yith-automatic-role-changer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/"},{"@type":"ListItem","position":2,"name":"YITH Automatic Role Changer"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/","name":"YITH WooCommerce Role Based Prices","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/?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-role-based-prices\/#\/schema\/person\/5689fc6012d168000704e80bf26087da","name":"ausilia","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b8d070e41e47a70dee7611c4d905ff05?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8d070e41e47a70dee7611c4d905ff05?s=96&d=mm&r=g","caption":"ausilia"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/author\/ausilia\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":9,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/posts\/138\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-role-based-prices\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}