{"id":378,"date":"2025-03-13T15:17:44","date_gmt":"2025-03-13T15:17:44","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/?p=378"},"modified":"2025-03-27T09:28:45","modified_gmt":"2025-03-27T09:28:45","slug":"how-to-configure-rules","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/","title":{"rendered":"How to configure rules for user roles"},"content":{"rendered":"\n<p>In this post, we&#8217;ll explore how to create a rule to assign a new role automatically when meeting specific conditions. In our example, we want to reward users with the Partner role that provides exclusive benefits for making big purchases.<\/p>\n\n\n\n<p>Let&#8217;s begin:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 1 \u2014<\/strong>&nbsp;Add rule<\/h4>\n\n\n\n<p>From the Rules tab in the plugin settings, click on the \u201cAdd rule\u201d button to start configuring our rule (1)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1688\" height=\"732\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\" alt=\"Add rule\" class=\"wp-image-381\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg 1688w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule-300x130.jpg 300w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule-1024x444.jpg 1024w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule-768x333.jpg 768w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule-1536x666.jpg 1536w\" sizes=\"auto, (max-width: 1688px) 100vw, 1688px\" \/><\/a><\/figure>\n\n\n\n<p>And add a name to identify the rule (2)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"1520\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name.jpg\" alt=\"Add rule name\" class=\"wp-image-436\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name.jpg 1328w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name-262x300.jpg 262w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name-895x1024.jpg 895w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/02.rule-name-768x879.jpg 768w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2 <strong>\u2014<\/strong>&nbsp;User role assignment<\/h4>\n\n\n\n<p>Next, choose the role assignment type. In this case, we want to assign a new role, so we select \u2018the user will gain the role\u2019 and then choose the role to be assigned from the dropdown (3).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"1520\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment.jpg\" alt=\"Set user role assignment\" class=\"wp-image-431\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment.jpg 1328w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment-262x300.jpg 262w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment-895x1024.jpg 895w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/3.user-role-assignment-768x879.jpg 768w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 3 \u2014&nbsp;Rule conditions<\/strong><\/h4>\n\n\n\n<p>Now, let&#8217;s define the conditions for role assignment. The rule should apply when the order total falls within a specific price range. Set the minimum amount to 5000, and leave the &#8220;To&#8221; field empty to allow for unlimited order totals. (4)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"1520\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions.jpg\" alt=\"Set rule conditions\" class=\"wp-image-432\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions.jpg 1328w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions-262x300.jpg 262w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions-895x1024.jpg 895w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/4.rule-conditions-768x879.jpg 768w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4 &#8211; Schedule rule<\/h4>\n\n\n\n<p>Additionally, we need the rule to take effect from a specific date, so we set a start date accordingly and leave the end date blank to keep the rule active indefinitely (5).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1312\" height=\"1508\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule.jpg\" alt=\"Schedule rule\" class=\"wp-image-433\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule.jpg 1312w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule-261x300.jpg 261w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule-891x1024.jpg 891w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/5.schedule-rule-768x883.jpg 768w\" sizes=\"auto, (max-width: 1312px) 100vw, 1312px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5 <strong>\u2014<\/strong>\u00a0Enable role expiration<\/h4>\n\n\n\n<p>Since we want this role to expire after a specific number of days, we have to <em>enable the role expiration<\/em> option, selecting the role to be switched back in 30 days (6). In this way, users will have to keep purchasing orders within the minimum price range to maintain the role and it&#8217;s benefits<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"1504\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration.jpg\" alt=\"Enable role expiration\" class=\"wp-image-434\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration.jpg 1348w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration-269x300.jpg 269w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration-918x1024.jpg 918w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/6.enable-role-expiration-768x857.jpg 768w\" sizes=\"auto, (max-width: 1348px) 100vw, 1348px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 6 &#8211; Exclude users<\/h4>\n\n\n\n<p>Lastly, to prevent users with the &#8220;Reseller&#8221; role from benefiting from this rule, we enable the <em>exclude users<\/em> option (7).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1328\" height=\"1520\" src=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users.jpg\" alt=\"Exclude users\" class=\"wp-image-435\" srcset=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users.jpg 1328w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users-262x300.jpg 262w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users-895x1024.jpg 895w, https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/7.exclude-users-768x879.jpg 768w\" sizes=\"auto, (max-width: 1328px) 100vw, 1328px\" \/><\/a><\/figure>\n\n\n\n<p>Don\u2019t forget to click \u2018Save\u2019 and we will have our new role-switching rule created!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we&#8217;ll explore how to create a rule to assign a new role automatically when meeting specific conditions. In our example, we want to reward users with the Partner role that provides exclusive benefits for making big purchases. Let&#8217;s begin: Step 1 \u2014&nbsp;Add rule From the Rules tab in the plugin settings, click &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to configure rules for user roles<\/span><\/a><\/p>\n","protected":false},"author":46,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-overview"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Automatic Role Changer: How to configure rules for user roles<\/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-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Automatic Role Changer: How to configure rules for user roles\" \/>\n<meta property=\"og:description\" content=\"In this post, we&#8217;ll explore how to create a rule to assign a new role automatically when meeting specific conditions. In our example, we want to reward users with the Partner role that provides exclusive benefits for making big purchases. Let&#8217;s begin: Step 1 \u2014&nbsp;Add rule From the Rules tab in the plugin settings, click &hellip; Continue reading How to configure rules for user roles\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Automatic Role Changer for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-13T15:17:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-27T09:28:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1688\" \/>\n\t<meta property=\"og:image:height\" content=\"732\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"michellehernandez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"michellehernandez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\",\"name\":\"YITH Automatic Role Changer: How to configure rules for user roles\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\",\"datePublished\":\"2025-03-13T15:17:44+00:00\",\"dateModified\":\"2025-03-27T09:28:45+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#\/schema\/person\/abf4311d830c9248924c9e019551dc69\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg\",\"width\":1688,\"height\":732,\"caption\":\"Add rule\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure rules for user roles\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/\",\"name\":\"YITH Automatic Role Changer for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-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-automatic-role-changer-for-woocommerce\/#\/schema\/person\/abf4311d830c9248924c9e019551dc69\",\"name\":\"michellehernandez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cea0cf9a9e6d1cf5ecdafbf586eb4fbb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cea0cf9a9e6d1cf5ecdafbf586eb4fbb?s=96&d=mm&r=g\",\"caption\":\"michellehernandez\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/author\/michellehernandez\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Automatic Role Changer: How to configure rules for user roles","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-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/","og_locale":"en_US","og_type":"article","og_title":"YITH Automatic Role Changer: How to configure rules for user roles","og_description":"In this post, we&#8217;ll explore how to create a rule to assign a new role automatically when meeting specific conditions. In our example, we want to reward users with the Partner role that provides exclusive benefits for making big purchases. Let&#8217;s begin: Step 1 \u2014&nbsp;Add rule From the Rules tab in the plugin settings, click &hellip; Continue reading How to configure rules for user roles","og_url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/","og_site_name":"YITH Automatic Role Changer for WooCommerce","article_published_time":"2025-03-13T15:17:44+00:00","article_modified_time":"2025-03-27T09:28:45+00:00","og_image":[{"width":1688,"height":732,"url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg","type":"image\/jpeg"}],"author":"michellehernandez","twitter_card":"summary_large_image","twitter_misc":{"Written by":"michellehernandez","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/","url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/","name":"YITH Automatic Role Changer: How to configure rules for user roles","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg","datePublished":"2025-03-13T15:17:44+00:00","dateModified":"2025-03-27T09:28:45+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#\/schema\/person\/abf4311d830c9248924c9e019551dc69"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-content\/uploads\/sites\/365\/2025\/03\/1.add-rule.jpg","width":1688,"height":732,"caption":"Add rule"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/overview\/how-to-configure-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"How to configure rules for user roles"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/","name":"YITH Automatic Role Changer for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-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-automatic-role-changer-for-woocommerce\/#\/schema\/person\/abf4311d830c9248924c9e019551dc69","name":"michellehernandez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cea0cf9a9e6d1cf5ecdafbf586eb4fbb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cea0cf9a9e6d1cf5ecdafbf586eb4fbb?s=96&d=mm&r=g","caption":"michellehernandez"},"url":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/author\/michellehernandez\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/comments?post=378"}],"version-history":[{"count":15,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/posts\/378\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/media?parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/categories?post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-automatic-role-changer-for-woocommerce\/wp-json\/wp\/v2\/tags?post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}