CINXE.COM

Intercom

<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8" data-next-head=""/><title data-next-head="">Discount based on User Role | FlyCart Documentation | WordPress and WooCommerce Plugins</title><meta property="og:title" content="Discount based on User Role | FlyCart Documentation | WordPress and WooCommerce Plugins" data-next-head=""/><meta name="twitter:title" content="Discount based on User Role | FlyCart Documentation | WordPress and WooCommerce Plugins" data-next-head=""/><meta property="og:description" content="Learn how to offer discounts for particular user roles with the help of the Discount Rules for Woocommerce plugin." data-next-head=""/><meta name="twitter:description" content="Learn how to offer discounts for particular user roles with the help of the Discount Rules for Woocommerce plugin." data-next-head=""/><meta name="description" content="Learn how to offer discounts for particular user roles with the help of the Discount Rules for Woocommerce plugin." data-next-head=""/><meta property="og:type" content="article" data-next-head=""/><meta name="robots" content="all" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1" data-next-head=""/><link href="https://static.intercomassets.com/assets/educate/educate-favicon-64x64-at-2x-52016a3500a250d0b118c0a04ddd13b1a7364a27759483536dd1940bccdefc20.png" rel="icon" data-next-head=""/><link rel="canonical" href="https://docs.flycart.org/en/articles/4203313-discount-based-on-user-role" data-next-head=""/><link rel="alternate" href="https://docs.flycart.org/en/articles/4203313-discount-based-on-user-role" hrefLang="en" data-next-head=""/><link rel="alternate" href="https://docs.flycart.org/en/articles/4203313-discount-based-on-user-role" hrefLang="x-default" data-next-head=""/><link nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" rel="preload" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" as="style"/><link nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" rel="stylesheet" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" data-n-g=""/><noscript data-n-css="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4="></noscript><script defer="" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" nomodule="" src="https://static.intercomassets.com/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script defer="" src="https://static.intercomassets.com/_next/static/chunks/9807.06bd1120513ccdff.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4="></script><script src="https://static.intercomassets.com/_next/static/chunks/webpack-914670f3d197b0ac.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/framework-c2b23989aabf8846.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/main-f1052d0773c47c55.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/_app-f6eb1f03c2a77808.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/da8cbcf2-515374c1b53e94b9.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/7833-842ba55e661d0800.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/8277-93597e4349e635c0.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/639-4cba3a85bc80cea4.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/2266-6ece4d4ecd5a090f.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/6408-1b0e182947803382.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/%5BhelpCenterIdentifier%5D/%5Blocale%5D/articles/%5BarticleSlug%5D-f23178055b57ca92.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/pBE9iWbiWcYTeTlBTemWk/_buildManifest.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/pBE9iWbiWcYTeTlBTemWk/_ssgManifest.js" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=" defer=""></script><meta name="sentry-trace" content="7d51c09bfbb4b4737b7021fbc4bc3288-8fdaa4fdbf569dd6-0"/><meta name="baggage" content="sentry-environment=production,sentry-release=pBE9iWbiWcYTeTlBTemWk,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=7d51c09bfbb4b4737b7021fbc4bc3288,sentry-sampled=false"/><style id="__jsx-592500145">:root{--body-bg: rgb(255, 255, 255); --body-image: none; --body-bg-rgb: 255, 255, 255; --body-border: rgb(230, 230, 230); --body-primary-color: #1a1a1a; --body-secondary-color: #737373; --body-reaction-bg: rgb(242, 242, 242); --body-reaction-text-color: rgb(64, 64, 64); --body-toc-active-border: #737373; --body-toc-inactive-border: #f2f2f2; --body-toc-inactive-color: #737373; --body-toc-active-font-weight: 400; --body-table-border: rgb(204, 204, 204); --body-color: hsl(0, 0%, 0%); --footer-bg: rgb(255, 255, 255); --footer-image: none; --footer-border: rgb(230, 230, 230); --footer-color: hsl(211, 10%, 61%); --header-bg: rgb(0, 153, 229); --header-image: none; --header-color: hsl(0, 0%, 100%); --collection-card-bg: rgb(255, 255, 255); --collection-card-image: none; --collection-card-color: hsl(200, 100%, 45%); --card-bg: rgb(255, 255, 255); --card-border-color: rgb(230, 230, 230); --card-border-inner-radius: 6px; --card-border-radius: 8px; --card-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --search-bar-border-radius: 10px; --search-bar-width: 100%; --ticket-blue-bg-color: #dce1f9; --ticket-blue-text-color: #334bfa; --ticket-green-bg-color: #d7efdc; --ticket-green-text-color: #0f7134; --ticket-orange-bg-color: #ffebdb; --ticket-orange-text-color: #b24d00; --header-height: 245px; --header-subheader-background-color: #000000; --header-subheader-font-color: #FFFFFF; --content-block-bg: rgb(255, 255, 255); --content-block-image: none; --content-block-color: hsl(0, 0%, 10%); --content-block-button-bg: rgb(51, 75, 250); --content-block-button-image: none; --content-block-button-color: hsl(0, 0%, 100%); --content-block-button-radius: 6px; --primary-color: hsl(200, 100%, 45%); --primary-color-alpha-10: hsla(200, 100%, 45%, 0.1); --primary-color-alpha-60: hsla(200, 100%, 45%, 0.6); --text-on-primary-color: #1a1a1a}</style><style id="__jsx-2094555375">:root{--font-family-primary: system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}</style><style id="__jsx-2605255833">:root{--font-family-secondary: system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}</style><style id="__jsx-73269029ea53bf4f">.fade-background.jsx-73269029ea53bf4f{background:-webkit-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-moz-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-o-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:radial-gradient(333.38%100%at 50%0%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position-x:center}</style><style id="__jsx-62724fba150252e0">.related_articles section a{color:initial}</style><style id="__jsx-ef86202475c6562f">.article_body a{color:var(--primary-color)}article a.intercom-h2b-button{background-color:var(--primary-color);border:0}.zendesk-article table{overflow-x:scroll!important;display:block!important;height:auto!important}.intercom-interblocks-unordered-nested-list ul,.intercom-interblocks-ordered-nested-list ol{margin-top:16px;margin-bottom:16px}.intercom-interblocks-unordered-nested-list ul .intercom-interblocks-unordered-nested-list ul,.intercom-interblocks-unordered-nested-list ul .intercom-interblocks-ordered-nested-list ol,.intercom-interblocks-ordered-nested-list ol .intercom-interblocks-ordered-nested-list ol,.intercom-interblocks-ordered-nested-list ol .intercom-interblocks-unordered-nested-list ul{margin-top:0;margin-bottom:0}.intercom-interblocks-image a:focus{outline-offset:3px}</style></head><body><div id="__next"><div dir="ltr" class="h-full w-full"><a href="#main-content" class="sr-only">Skip to main content</a><main class="header__lite"><header id="header" data-testid="header" class="jsx-73269029ea53bf4f flex flex-col text-header-color"><div class="jsx-73269029ea53bf4f relative flex grow flex-col mb-9 bg-header-bg bg-header-image bg-cover bg-center pb-9"><div class="jsx-73269029ea53bf4f flex h-full flex-col items-center marker:shrink-0"><section class="relative flex w-full flex-col mb-6 pb-6"><div class="header__meta_wrapper flex justify-center px-5 pt-6 leading-none sm:px-10"><div class="flex items-center w-240" data-testid="subheader-container"><div class="mo__body header__site_name"><div class="header__logo"><a href="/en/"><img src="https://downloads.intercomcdn.com/i/o/26355/8a31696e1efa103298fb69fc/flycart_twitter_logo_01.png" height="240" alt="FlyCart Documentation | WordPress and WooCommerce Plugins"/></a></div></div><div><div class="flex items-center font-semibold"><div class="flex items-center md:hidden" data-testid="small-screen-children"><button class="flex items-center border-none bg-transparent px-1.5" data-testid="hamburger-menu-button" aria-label="Open menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="fill-current"><path d="M1.86861 2C1.38889 2 1 2.3806 1 2.85008C1 3.31957 1.38889 3.70017 1.86861 3.70017H14.1314C14.6111 3.70017 15 3.31957 15 2.85008C15 2.3806 14.6111 2 14.1314 2H1.86861Z"></path><path d="M1 8C1 7.53051 1.38889 7.14992 1.86861 7.14992H14.1314C14.6111 7.14992 15 7.53051 15 8C15 8.46949 14.6111 8.85008 14.1314 8.85008H1.86861C1.38889 8.85008 1 8.46949 1 8Z"></path><path d="M1 13.1499C1 12.6804 1.38889 12.2998 1.86861 12.2998H14.1314C14.6111 12.2998 15 12.6804 15 13.1499C15 13.6194 14.6111 14 14.1314 14H1.86861C1.38889 14 1 13.6194 1 13.1499Z"></path></svg></button><div class="fixed right-0 top-0 z-50 h-full w-full hidden" data-testid="hamburger-menu"><div class="flex h-full w-full justify-end bg-black bg-opacity-30"><div class="flex h-fit w-full flex-col bg-white opacity-100 sm:h-full sm:w-1/2"><button class="text-body-font flex items-center self-end border-none bg-transparent pr-6 pt-6" data-testid="hamburger-menu-close-button" aria-label="Close menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M3.5097 3.5097C3.84165 3.17776 4.37984 3.17776 4.71178 3.5097L7.99983 6.79775L11.2879 3.5097C11.6198 3.17776 12.158 3.17776 12.49 3.5097C12.8219 3.84165 12.8219 4.37984 12.49 4.71178L9.20191 7.99983L12.49 11.2879C12.8219 11.6198 12.8219 12.158 12.49 12.49C12.158 12.8219 11.6198 12.8219 11.2879 12.49L7.99983 9.20191L4.71178 12.49C4.37984 12.8219 3.84165 12.8219 3.5097 12.49C3.17776 12.158 3.17776 11.6198 3.5097 11.2879L6.79775 7.99983L3.5097 4.71178C3.17776 4.37984 3.17776 3.84165 3.5097 3.5097Z"></path></svg></button><nav class="flex flex-col pl-4 text-black"><a target="_blank" rel="noopener noreferrer" href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-0">Buy Discount Rules PRO</a><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/articles/4203313-discount-based-on-user-role" class="text-black" selected="">English</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div><nav class="hidden items-center md:flex" data-testid="large-screen-children"><a target="_blank" rel="noopener noreferrer" href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-0">Buy Discount Rules PRO</a><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/articles/4203313-discount-based-on-user-role" class="text-black" selected="">English</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div></section><section class="relative mx-5 flex h-full w-full flex-col items-center px-5 sm:px-10"><div class="flex h-full max-w-full flex-col w-240 justify-end" data-testid="main-header-container"><div id="search-bar" class="relative w-full"><form action="/en/" autoComplete="off"><div class="flex w-full flex-col items-start"><div class="relative flex w-full sm:w-search-bar"><input type="text" autoComplete="off" class="peer w-full rounded-search-bar border border-black-alpha-8 bg-white-alpha-20 p-4 ps-12 font-secondary text-lg text-header-color shadow-search-bar outline-none transition ease-linear placeholder:text-header-color hover:bg-white-alpha-27 hover:shadow-search-bar-hover focus:border-transparent focus:bg-white focus:text-black-10 focus:shadow-search-bar-focused placeholder:focus:text-black-45" placeholder="Search for articles..." name="q" value=""/><div class="pointer-events-none absolute inset-y-0 start-0 flex items-center fill-header-color ps-5 peer-focus-visible:fill-black-45"><svg width="22" height="21" viewBox="0 0 22 21" xmlns="http://www.w3.org/2000/svg" class="fill-inherit" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.27485 8.7001C3.27485 5.42781 5.92757 2.7751 9.19985 2.7751C12.4721 2.7751 15.1249 5.42781 15.1249 8.7001C15.1249 11.9724 12.4721 14.6251 9.19985 14.6251C5.92757 14.6251 3.27485 11.9724 3.27485 8.7001ZM9.19985 0.225098C4.51924 0.225098 0.724854 4.01948 0.724854 8.7001C0.724854 13.3807 4.51924 17.1751 9.19985 17.1751C11.0802 17.1751 12.8176 16.5627 14.2234 15.5265L19.0981 20.4013C19.5961 20.8992 20.4033 20.8992 20.9013 20.4013C21.3992 19.9033 21.3992 19.0961 20.9013 18.5981L16.0264 13.7233C17.0625 12.3176 17.6749 10.5804 17.6749 8.7001C17.6749 4.01948 13.8805 0.225098 9.19985 0.225098Z"></path></svg></div></div></div></form></div></div></section></div></div></header><div class="z-1 flex shrink-0 grow basis-auto justify-center px-5 sm:px-10"><section data-testid="main-content" id="main-content" class="max-w-full w-240"><section data-testid="article-section" class="section section__article"><div class="justify-center flex"><div class="relative z-3 w-full lg:max-w-160 "><div class="flex pb-6 max-md:pb-2 lg:max-w-160"><div class="flex flex-wrap items-baseline pb-4 text-base"><a href="/en/" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color">All Collections</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><a href="https://docs.flycart.org/en/collections/806883-discount-rules-for-woocommerce" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color" data-testid="breadcrumb-0">Discount Rules for WooCommerce</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><a href="https://docs.flycart.org/en/collections/2827998-condition-based-discount" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color" data-testid="breadcrumb-1">Condition Based Discount</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><div class="text-body-secondary-color">Discount based on User Role</div></div></div><div class=""><div class="article intercom-force-break"><div class="mb-10 max-lg:mb-6"><div class="flex flex-col gap-4"><div class="flex flex-col"><header class="mb-1 font-primary text-2xl font-bold leading-10 text-body-primary-color">Discount based on User Role</header><div class="text-md font-normal leading-normal text-body-secondary-color"><p>Learn how to offer discounts for particular user roles with the help of the Discount Rules for Woocommerce plugin.</p></div></div><div class="avatar"><div class="avatar__photo"><img width="24" height="24" src="https://static.intercomassets.com/avatars/1592542/square_128/casual-1702305652.png" alt="Ramesh avatar" class="inline-flex items-center justify-center rounded-full bg-primary text-lg font-bold leading-6 text-primary-text shadow-solid-2 shadow-body-bg [&amp;:nth-child(n+2)]:hidden lg:[&amp;:nth-child(n+2)]:inline-flex h-8 w-8 sm:h-9 sm:w-9"/></div><div class="avatar__info -mt-0.5 text-base"><span class="text-body-secondary-color"><div>Written by <span>Ramesh</span></div> <!-- -->Updated over 8 months ago</span></div></div></div></div><div class="jsx-ef86202475c6562f "><div class="jsx-ef86202475c6562f article_body"><article class="jsx-ef86202475c6562f "><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_6f7adb6db4"><b>Introduction: </b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>User role-based discounts are discounts offered to customers based on their assigned user role in your WooCommerce store. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>For example</b>, wholesale customers can be assigned a user role and provided with a bulk discount while retail customers can be assigned a different user role with no discount.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>These types of discounts aim to offer a customized shopping experience to customers, while also simplifying the process of managing discounts and promotions for store owners. With the <a href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" rel="nofollow noopener noreferrer" target="_blank">Discount Rules for WooCommerce</a> plugin, discounts are automatically applied based on the customer&#x27;s assigned user role, which helps store owners save time and effort.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_b41e28b0b2">Below are some examples of discount scenarios based on user roles:</h3></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Wholesale customers receive bulk discounts</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Customers receive a 5% discount</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Subscribers receive a 20% discount from whole cart </p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>To create discount rules with user role conditions, you need to have the Discount Rules PRO plugin installed and activated. You can purchase the PRO version by clicking on the provided button. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-button intercom-interblocks-align-left"><a href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" target="_blank" rel="noreferrer nofollow noopener" class="intercom-h2b-button">Get Discount Rules PRO</a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Now, let&#x27;s take a closer look at each example in detail.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><i>Please note that for the following example to work, it is assumed that you have already assigned the wholesale customers to a user role. User roles are a concept in WordPress that allows you to create any number of roles and assign users to them. You can use plugins like <a href="https://wordpress.org/plugins/user-role-editor/" rel="nofollow noopener noreferrer" target="_blank">User Role Editor</a> to do this. If you haven&#x27;t already assigned your users to any roles, we recommend that you consider assigning your wholesale customers to a user role to take advantage of the discounts.</i></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_2bf6c0fa0c"><b>Example 1 : Wholesale customers receive bulk discounts</b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This example illustrates how to provide bulk discounts to customers who belong to the &quot;wholesale&quot; user role in a WooCommerce store. These customers can enjoy discounts on their purchases when buying items in bulk quantities. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>For instance, they may receive a 5% discount when they buy 5 items, a 10% discount when they buy 10 items, and a 15% discount when they buy 15 items, regardless of the product.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>To create this rule, follow these steps</p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_940d203d68"><b>Creating a Discount Rule:</b></h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Go to WordPress dashboard -&gt; Woocommerce -&gt; Discount Rules -&gt; Click on “Add New Rule” button</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Select the discount types as “Bulk discount”, since we are offering bulk discount for “wholesale” user roles. </p></div></li></ul></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_7a4807ca79"><b>Then configure the discount rule as seen in the below screenshot:</b></h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994899/508c151ad724c555ad04244a/JNIOh2phe8btHs4vnAN2sFuj0OKiPpQ3NdKPxFulnWzBIpOTeQ9UE_wE6mWP4JXgxCuxBYR97d5eiA2EwCV6aV-1q1TOE-Eo8EtFDn1WJsEcMSNoUn240NZTx2L6_IXroV8kagBZE04bi49-JCv2ynI?expires=1732730400&amp;signature=2b6dd5e1a50b8d17e6e31321ead7c21748646cbf77780ca2cd94e85fa25bcaef&amp;req=cyEnH8B6lYhWFb4f3HP0gFAheudw486whsTEUzQU0cWkBITabHCwpbj7te8X%0ALat4W4Ep5lM5%2B3EfYg%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994899/508c151ad724c555ad04244a/JNIOh2phe8btHs4vnAN2sFuj0OKiPpQ3NdKPxFulnWzBIpOTeQ9UE_wE6mWP4JXgxCuxBYR97d5eiA2EwCV6aV-1q1TOE-Eo8EtFDn1WJsEcMSNoUn240NZTx2L6_IXroV8kagBZE04bi49-JCv2ynI?expires=1732730400&amp;signature=2b6dd5e1a50b8d17e6e31321ead7c21748646cbf77780ca2cd94e85fa25bcaef&amp;req=cyEnH8B6lYhWFb4f3HP0gFAheudw486whsTEUzQU0cWkBITabHCwpbj7te8X%0ALat4W4Ep5lM5%2B3EfYg%3D%3D%0A"/></a></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_c7a538dc12">To configure the rule with “User role” condition, follow these steps:</h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;All Products&quot; as Filter or other options such as Categories, Products, Attributes, Tags, or Sku&#x27;s.</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose count quantities by to “Filter set above”</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Set the first range (minimum and maximum quantity as 5 and 9) and set discount percentage. You also have options to choose Fixed discount or Fixed price for item. </p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Then, add other ranges as shown in screenshot using the “Add Range” button </p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Add additional condition as “User Role” and select Wholesale role here</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Click &quot;SAVE&quot; after creating the rule successfully.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Now, for wholesale customers (who logged in using a wholesale account), will receive a bulk discount based on their purchasing quantity. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_b223e10510"><b>Here is the cart page screenshot of wholesale customer account receiving bulk discount while buying 5 quantities: </b></h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://downloads.intercomcdn.com/i/o/710988167/493b0efa633e362c320a67ac/screenshot-localhost-2023.04.13-13_18_36.png?expires=1732730400&amp;signature=c0a9a935bb703c00dfbd6a0aec5da5b80741d47e889beb219d34f2cc7d47a31a&amp;req=cyEnH8F2nIdYFb4f3HP0gLVsdsSfOy724wQ0zwUx7GKwY5sik7tm%2B2j%2Bi81E%0A7h5s8H9QRXgPnRJ%2B8A%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://downloads.intercomcdn.com/i/o/710988167/493b0efa633e362c320a67ac/screenshot-localhost-2023.04.13-13_18_36.png?expires=1732730400&amp;signature=c0a9a935bb703c00dfbd6a0aec5da5b80741d47e889beb219d34f2cc7d47a31a&amp;req=cyEnH8F2nIdYFb4f3HP0gLVsdsSfOy724wQ0zwUx7GKwY5sik7tm%2B2j%2Bi81E%0A7h5s8H9QRXgPnRJ%2B8A%3D%3D%0A" width="851" height="622"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_9ccaaa68fb"><b>Refer this video to know more about Wholesaler User Role conditional scenarios:</b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-video"><iframe src="https://www.youtube.com/embed/rGfAi4xOt1I" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_ba297dc97b"><b>Example 2: Customers receive a 5% discount</b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This example illustrates how to offer discounts that are targeted towards customers who have been assigned to the &quot;Customer&quot; user role. So, any customer who belongs to the &quot;Customer&quot; user role will receive a 5% discount on their purchase.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>To create this rule, follow these steps</p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_088fa64b33"><b>Creating a Discount Rule:</b></h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Go to WordPress dashboard -&gt; Woocommerce -&gt; Discount Rules -&gt; Click on “Add New Rule” button</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Select the discount types as “Product Adjustment”, since we are offering store wide 5% off for customers in “Customer” user role. </p></div></li></ul></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_d3f54ddc69"><b>Then configure the discount rule as seen in the below screenshot:</b> </h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994905/7d72c1009bca16ffc8920211/KVUn96p95NqY2oTYAFoMs9ps-F7mXypOVNviZcX2eB8-s6m_SpklBSK72gFqqCnN62KZU-oGLn73_B-pIOw-i4srDaNq8LGV4dLQgQ-1NosqyL8whsquCG1_LZ0Rg5V_9CHxHPwX870YSjRUEaX8iAE?expires=1732730400&amp;signature=14f65c0b2c605cf45207d3feb5f3726d8708ed20846f28f78850fbfa07f4d7ab&amp;req=cyEnH8B6lIFaFb4f3HP0gHM%2BRcXsQHCBd84I3ctXdjAC9sw8AKr0ywOPj0yQ%0Ae7njQabov9ErOmE11g%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994905/7d72c1009bca16ffc8920211/KVUn96p95NqY2oTYAFoMs9ps-F7mXypOVNviZcX2eB8-s6m_SpklBSK72gFqqCnN62KZU-oGLn73_B-pIOw-i4srDaNq8LGV4dLQgQ-1NosqyL8whsquCG1_LZ0Rg5V_9CHxHPwX870YSjRUEaX8iAE?expires=1732730400&amp;signature=14f65c0b2c605cf45207d3feb5f3726d8708ed20846f28f78850fbfa07f4d7ab&amp;req=cyEnH8B6lIFaFb4f3HP0gHM%2BRcXsQHCBd84I3ctXdjAC9sw8AKr0ywOPj0yQ%0Ae7njQabov9ErOmE11g%3D%3D%0A"/></a></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_68b7c7db9b">To configure the rule with “User role” condition, follow these steps:</h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;All Products&quot; (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Set the discount type to a 5% percentage discount. You also have options to choose Fixed discount or Fixed price per item </p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Include “User role” as additional condition and add the “Customer” user role here </p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Click on “SAVE” once we have successfully created the rule. </p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Now, for customers (who logged in using a Customer userrole account), will receive 5% off on all products in store. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_2732c8786d"><b>Here is the cart page screenshot of “Customer” user role account receiving 5% off on all products in cart: </b></h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994915/ca8ecdea7248f9169ff9977d/V1LY-8whoZ3do0T527--PDfzKar-GxQZ-ARWyjj9NYtO2vjWZxt2dK0cIGhRMTVTX6ePN5J0iqL0vvphfya3-V-34v9Ein4AO0Z83jVmbyxoMaor1ZUfC_tO7qeKGFrq5rHs_HRpMQrGzCnj_a5Gxns?expires=1732730400&amp;signature=366c38a3192b5770ff72f77879cf037a122b215b1be77ffa5dfea13ca7f15312&amp;req=cyEnH8B6lIBaFb4f3HP0gA80fLKwl1Llkf8AmqX8KQQYDuEgkpD5VTRXInWb%0Ao1WOO5lRGn1FLVTsTw%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994915/ca8ecdea7248f9169ff9977d/V1LY-8whoZ3do0T527--PDfzKar-GxQZ-ARWyjj9NYtO2vjWZxt2dK0cIGhRMTVTX6ePN5J0iqL0vvphfya3-V-34v9Ein4AO0Z83jVmbyxoMaor1ZUfC_tO7qeKGFrq5rHs_HRpMQrGzCnj_a5Gxns?expires=1732730400&amp;signature=366c38a3192b5770ff72f77879cf037a122b215b1be77ffa5dfea13ca7f15312&amp;req=cyEnH8B6lIBaFb4f3HP0gA80fLKwl1Llkf8AmqX8KQQYDuEgkpD5VTRXInWb%0Ao1WOO5lRGn1FLVTsTw%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_bf4340fe5f"><b>Example 3: Subscribers receive a 20% discount from whole cart </b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This example illustrates how to offer discounts that are targeted towards customers who have been assigned the &quot;Subscriber&quot; user role. So, any customer who belongs to the &quot;Subscriber&quot; user role will receive a 20% off from their whole cart. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>To create this rule, follow these steps</p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_94a03d85ad"><b>Creating a Discount Rule:</b></h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Go to WordPress dashboard -&gt; Woocommerce -&gt; Discount Rules -&gt; Click on “Add New Rule” button</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Select the discount types as “Cart Adjustment”, since we are offering 20% off from the whole cart for customers in the “Subscriber” user role. </p></div></li></ul></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_ddadd3ad7e"><b>Then configure the discount rule as seen in the below screenshot:</b></h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994924/0ec92705a73a90495ec6f44e/CNgwVh3kqpC-TKVOVmrSmBa4TnMMNIjkX7oa3ZY8IX0O0cJC0cRQRM_NkmS6XlJ1b6pQ8TzqHRiiY5Ta1AI12Vp_Z6RG6yxhWdKlgPpkmbPF38VlTUo884eyJPXCCduG-yAJ3M1jOxiV4QCaGo7NmZo?expires=1732730400&amp;signature=c72559f5a766b243dd1c8d2fc751053063bea09cc15041628d66d16d7f07e47a&amp;req=cyEnH8B6lINbFb4f3HP0gEL%2FOyospw604QzSPCiigApRpH%2FyehMzBoFYUJgy%0AG1Kef3TnI05rp8GrYg%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994924/0ec92705a73a90495ec6f44e/CNgwVh3kqpC-TKVOVmrSmBa4TnMMNIjkX7oa3ZY8IX0O0cJC0cRQRM_NkmS6XlJ1b6pQ8TzqHRiiY5Ta1AI12Vp_Z6RG6yxhWdKlgPpkmbPF38VlTUo884eyJPXCCduG-yAJ3M1jOxiV4QCaGo7NmZo?expires=1732730400&amp;signature=c72559f5a766b243dd1c8d2fc751053063bea09cc15041628d66d16d7f07e47a&amp;req=cyEnH8B6lINbFb4f3HP0gEL%2FOyospw604QzSPCiigApRpH%2FyehMzBoFYUJgy%0AG1Kef3TnI05rp8GrYg%3D%3D%0A"/></a></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_0d9aea0bc6">To configure the rule with “User role” condition, follow these steps:</h4></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;All Products&quot; (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Set the discount type to a 20% percentage discount. You also have options to choose Fixed discount or Fixed discount per product</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Include “User role” as additional condition and add the “Subscriber” user role here </p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Click on “SAVE” once we have successfully created the rule. </p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Now, customers (who logged in using a Subscriber user role account), will receive 20% off from their whole cart. </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_bc39a5c77c"><b>Here is the cart page screenshot of “Subscriber” user role account receiving 20% off from whole cart:</b></h4></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994934/5617642809650f7489c25ef6/BzJHYlg91C9CnSQtNkg6pf3D1tNGly-GkpAQBfvNQt7v7XG_GC7yLi_Gs2zhfAmdmbL4UqRcFHYtuTu3Uy_L3Kzlihmd27B_wcBZE9gbNC0hBBwnpVT8BNRYK1-MPTlRWUuGM3zYaMsCE4kPmKRGIDU?expires=1732730400&amp;signature=0e9d78701cf0bdb09e7d270d7e69aa22a301f78e3f1d9f8bb204c98eaa041861&amp;req=cyEnH8B6lIJbFb4f3HP0gJISBW1H4jttl7qPXHa2ALRE7uFC3cszRwYhFr5z%0AQgQMR0ITMkMw7IemYg%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994934/5617642809650f7489c25ef6/BzJHYlg91C9CnSQtNkg6pf3D1tNGly-GkpAQBfvNQt7v7XG_GC7yLi_Gs2zhfAmdmbL4UqRcFHYtuTu3Uy_L3Kzlihmd27B_wcBZE9gbNC0hBBwnpVT8BNRYK1-MPTlRWUuGM3zYaMsCE4kPmKRGIDU?expires=1732730400&amp;signature=0e9d78701cf0bdb09e7d270d7e69aa22a301f78e3f1d9f8bb204c98eaa041861&amp;req=cyEnH8B6lIJbFb4f3HP0gJISBW1H4jttl7qPXHa2ALRE7uFC3cszRwYhFr5z%0AQgQMR0ITMkMw7IemYg%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>The above discussed scenarios require a PRO version.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-button intercom-interblocks-align-left"><a href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" target="_blank" rel="noreferrer nofollow noopener" class="intercom-h2b-button">Get Discount Rules PRO</a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_f408e9f20c"><b>Next Steps: </b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>You may also want to check out these helpful guides:</b></p></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><a href="https://docs.flycart.org/en/articles/4223698-specific-customer-based-discount-2-0">Find out how to set up customer-specific discounts by clicking here.</a></p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><a href="https://docs.flycart.org/en/articles/5116952-discount-based-on-cart-quantity">If you want to learn about discounts based on cart or item quantity, click here.</a></p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><a href="https://docs.flycart.org/en/articles/4206683-how-to-provide-first-order-discount-2-0">Click here to discover how to give first-time customers a discount.</a></p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><a href="https://docs.flycart.org/en/articles/4268595-activate-discount-rule-using-a-coupon-code-in-woocommerce">Learn how to use coupon codes to activate discount rules by clicking here.</a></p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><a href="https://docs.flycart.org/en/articles/3946529-discount-bar-discount-rules-2-0">Use our Discount Bar to display discount information to your customers.</a></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div></li></ul></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_f7a491746c"><b>Still unclear?</b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>If you need any assistance, please create a <b><a href="https://www.flycart.org/support" rel="nofollow noopener noreferrer" target="_blank"> support request</a></b> at our ticket system. We are always happy to assist you :)</p></div><section class="jsx-62724fba150252e0 related_articles my-6"><hr class="jsx-62724fba150252e0 my-6 sm:my-8"/><div class="jsx-62724fba150252e0 mb-3 text-xl font-bold">Related Articles</div><section class="flex flex-col rounded-card border border-solid border-card-border bg-card-bg p-2 sm:p-3"><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://docs.flycart.org/en/articles/3807036-free-shipping" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary">Free Shipping</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://docs.flycart.org/en/articles/3807208-bulk-discounts-or-tiered-pricing" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary">Bulk Discounts or Tiered Pricing</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://docs.flycart.org/en/articles/4223698-discount-based-on-specific-customers-logged-in-users" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary">Discount based on Specific Customers/ Logged in Users</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://docs.flycart.org/en/articles/4280177-discounts-based-on-cart-line-item-count" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary">Discounts based on Cart Line Item Count</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://docs.flycart.org/en/articles/4849528-how-to-set-up-discount-rules" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary">How to set up Discount Rules?</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a></section></section></article></div></div></div></div><div class="intercom-reaction-picker -mb-4 -ml-4 -mr-4 mt-6 rounded-card sm:-mb-2 sm:-ml-1 sm:-mr-1 sm:mt-8"><div class="intercom-reaction-prompt">Did this answer your question?</div><button class="intercom-reaction" aria-label="Disappointed Reaction" tabindex="0" data-reaction-text="disappointed" aria-pressed="false"><span title="Disappointed">😞</span></button><button class="intercom-reaction" aria-label="Neutral Reaction" tabindex="0" data-reaction-text="neutral" aria-pressed="false"><span title="Neutral">😐</span></button><button class="intercom-reaction" aria-label="Smiley Reaction" tabindex="0" data-reaction-text="smiley" aria-pressed="false"><span title="Smiley">😃</span></button></div></div></div></section></section></div><footer id="footer" class="mt-24 shrink-0 bg-footer-bg px-0 py-12 text-left text-base text-footer-color"><div class="shrink-0 grow basis-auto px-5 sm:px-10"><div class="mx-auto max-w-240 sm:w-auto"><div><div class="text-center" data-testid="simple-footer-layout"><div class="align-middle text-lg text-footer-color"><a class="no-underline" href="/en/"><img data-testid="logo-img" src="https://downloads.intercomcdn.com/i/o/26355/8a31696e1efa103298fb69fc/flycart_twitter_logo_01.png" alt="FlyCart Documentation | WordPress and WooCommerce Plugins" class="max-h-8 contrast-80 inline"/></a></div><div class="mt-3 text-base">Flycart</div><div class="mt-10" data-testid="simple-footer-links"><div class="flex flex-row justify-center"><span><ul data-testid="custom-links" class="mb-4 p-0" id="custom-links"><li class="mx-3 inline-block list-none"><a target="_blank" href="https://www.flycart.org" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-0" class="no-underline">Return to flycart.org</a></li><li class="mx-3 inline-block list-none"><a target="_blank" href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-1" class="no-underline">Buy Discount Rules PRO</a></li></ul></span></div><ul data-testid="social-links" class="flex flex-wrap items-center gap-4 p-0 justify-center" id="social-links"><li class="list-none align-middle"><a target="_blank" href="https://www.facebook.com/flycart.technologies" rel="nofollow noreferrer noopener" data-testid="footer-social-link-0" class="no-underline"><img src="https://intercom.help/flycartdocs/assets/svg/icon:social-facebook/909aa5" alt="" width="16" height="16" loading="lazy" data-testid="social-icon-facebook"/></a></li><li class="list-none align-middle"><a target="_blank" href="https://www.twitter.com/flycart_tech" rel="nofollow noreferrer noopener" data-testid="footer-social-link-1" class="no-underline"><img src="https://intercom.help/flycartdocs/assets/svg/icon:social-twitter/909aa5" alt="" width="16" height="16" loading="lazy" data-testid="social-icon-twitter"/></a></li></ul></div><div class="mt-10 flex justify-center"><div class="flex items-center text-sm" data-testid="intercom-advert-branding"><svg width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Intercom</title><g clip-path="url(#clip0_1870_86937)"><path d="M14 0H2C0.895 0 0 0.895 0 2V14C0 15.105 0.895 16 2 16H14C15.105 16 16 15.105 16 14V2C16 0.895 15.105 0 14 0ZM10.133 3.02C10.133 2.727 10.373 2.49 10.667 2.49C10.961 2.49 11.2 2.727 11.2 3.02V10.134C11.2 10.428 10.96 10.667 10.667 10.667C10.372 10.667 10.133 10.427 10.133 10.134V3.02ZM7.467 2.672C7.467 2.375 7.705 2.132 8 2.132C8.294 2.132 8.533 2.375 8.533 2.672V10.484C8.533 10.781 8.293 11.022 8 11.022C7.705 11.022 7.467 10.782 7.467 10.484V2.672ZM4.8 3.022C4.8 2.727 5.04 2.489 5.333 2.489C5.628 2.489 5.867 2.726 5.867 3.019V10.133C5.867 10.427 5.627 10.666 5.333 10.666C5.039 10.666 4.8 10.426 4.8 10.133V3.02V3.022ZM2.133 4.088C2.133 3.792 2.373 3.554 2.667 3.554C2.961 3.554 3.2 3.792 3.2 4.087V8.887C3.2 9.18 2.96 9.419 2.667 9.419C2.372 9.419 2.133 9.179 2.133 8.886V4.086V4.088ZM13.68 12.136C13.598 12.206 11.622 13.866 8 13.866C4.378 13.866 2.402 12.206 2.32 12.136C2.096 11.946 2.07 11.608 2.262 11.384C2.452 11.161 2.789 11.134 3.012 11.324C3.044 11.355 4.808 12.8 8 12.8C11.232 12.8 12.97 11.343 12.986 11.328C13.209 11.138 13.546 11.163 13.738 11.386C13.93 11.61 13.904 11.946 13.68 12.138V12.136ZM13.867 8.886C13.867 9.181 13.627 9.42 13.333 9.42C13.039 9.42 12.8 9.18 12.8 8.887V4.087C12.8 3.791 13.04 3.553 13.333 3.553C13.628 3.553 13.867 3.791 13.867 4.086V8.886Z" class="fill-current"></path></g><defs><clipPath id="clip0_1870_86937"><rect width="16" height="16" fill="none"></rect></clipPath></defs></svg><a href="https://www.intercom.com/intercom-link?company=Flycart&amp;solution=customer-support&amp;utm_campaign=intercom-link&amp;utm_content=We+run+on+Intercom&amp;utm_medium=help-center&amp;utm_referrer=https%3A%2F%2Fdocs.flycart.org%2Fen%2Farticles%2F4203313-discount-based-on-user-role&amp;utm_source=desktop-web" class="pl-2 align-middle no-underline">We run on Intercom</a></div></div></div></div></div></div></footer></main></div></div><script id="__NEXT_DATA__" type="application/json" nonce="xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=">{"props":{"pageProps":{"app":{"id":"p36lo8p9","messengerUrl":"https://widget.intercom.io/widget/p36lo8p9","name":"Flycart","poweredByIntercomUrl":"https://www.intercom.com/intercom-link?company=Flycart\u0026solution=customer-support\u0026utm_campaign=intercom-link\u0026utm_content=We+run+on+Intercom\u0026utm_medium=help-center\u0026utm_referrer=https%3A%2F%2Fdocs.flycart.org%2Fen%2Farticles%2F4203313-discount-based-on-user-role\u0026utm_source=desktop-web","features":{"customNotFoundErrorMessage":false}},"helpCenterSite":{"customDomain":"docs.flycart.org","defaultLocale":"en","disableBranding":false,"externalLoginName":null,"externalLoginUrl":null,"footerContactDetails":"Flycart","footerLinks":{"custom":[{"id":2565,"help_center_site_id":404478,"title":"Return to flycart.org","url":"https://www.flycart.org","sort_order":1,"link_location":"footer","site_link_group_id":5081},{"id":7314,"help_center_site_id":404478,"title":"Buy Discount Rules PRO","url":"https://www.flycart.org/products/wordpress/woocommerce-discount-rules","sort_order":2,"link_location":"footer","site_link_group_id":5081}],"socialLinks":[{"iconUrl":"https://intercom.help/flycartdocs/assets/svg/icon:social-facebook","provider":"facebook","url":"https://www.facebook.com/flycart.technologies"},{"iconUrl":"https://intercom.help/flycartdocs/assets/svg/icon:social-twitter","provider":"twitter","url":"https://www.twitter.com/flycart_tech"}],"linkGroups":[{"title":"","links":[{"title":"Return to flycart.org","url":"https://www.flycart.org"},{"title":"Buy Discount Rules PRO","url":"https://www.flycart.org/products/wordpress/woocommerce-discount-rules"}]}]},"headerLinks":[{"site_link_group_id":72995,"id":64967,"help_center_site_id":404478,"title":"Buy Discount Rules PRO","url":"https://www.flycart.org/products/wordpress/woocommerce-discount-rules","sort_order":1,"link_location":"header"}],"homeCollectionCols":1,"googleAnalyticsTrackingId":"UA-80769820-2","googleTagManagerId":null,"pathPrefixForCustomDomain":null,"seoIndexingEnabled":true,"helpCenterId":404478,"url":"https://docs.flycart.org","customizedFooterTextContent":null},"localeLinks":[{"id":"en","absoluteUrl":"https://docs.flycart.org/en/articles/4203313-discount-based-on-user-role","available":true,"name":"English","selected":true,"url":"/en/articles/4203313-discount-based-on-user-role"}],"requestContext":{"articleSource":null,"canonicalUrl":"https://docs.flycart.org/en/articles/4203313-discount-based-on-user-role","headerless":false,"isDefaultDomainRequest":false,"nonce":"xR8P4i73RstOJ9SyGslCeLgq/ghwYwQb++eQ0QAW9L4=","rootUrl":"/en/","sheetUserCipher":null,"type":"help-center"},"theme":{"color":"0099e5","siteName":"FlyCart Documentation | WordPress and WooCommerce Plugins","headline":"Learn how to use Discount Rules for WooCommerce","headerFontColor":"FFFFFF","logo":"https://downloads.intercomcdn.com/i/o/26355/8a31696e1efa103298fb69fc/flycart_twitter_logo_01.png","logoHeight":"240","header":null,"favicon":"https://static.intercomassets.com/assets/educate/educate-favicon-64x64-at-2x-52016a3500a250d0b118c0a04ddd13b1a7364a27759483536dd1940bccdefc20.png","locale":"en","homeUrl":"https://www.flycart.org","social":null,"urlPrefixForDefaultDomain":"https://intercom.help/flycartdocs","customDomain":"docs.flycart.org","customDomainUsesSsl":true,"customizationOptions":{"customizationType":1,"header":{"backgroundColor":"#0099e5","fontColor":"#FFFFFF","fadeToEdge":false,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"body":{"backgroundColor":"#ffffff","fontColor":null,"fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null},"footer":{"backgroundColor":"#ffffff","fontColor":"#909aa5","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showRichTextField":null},"layout":{"homePage":{"blocks":[{"type":"tickets-portal-link","enabled":false},{"type":"collection-list","columns":1,"template":0}]},"collectionsPage":{"showArticleDescriptions":false},"articlePage":{},"searchPage":{}},"collectionCard":{"global":{"backgroundColor":null,"fontColor":"0099e5","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showIcons":true,"backgroundImageUrl":null},"collections":[]},"global":{"font":{"customFontFaces":[],"primary":null,"secondary":null},"componentStyle":{"card":{"type":"bordered","borderRadius":8}},"namedComponents":{"header":{"subheader":{"enabled":false,"style":{"backgroundColor":"#000000","fontColor":"#FFFFFF"}},"style":{"height":"245px","align":"start","justify":"end"}},"searchBar":{"style":{"width":"100%","borderRadius":10}},"footer":{"type":0}},"brand":{"colors":[],"websiteUrl":""}},"contentBlock":{"blockStyle":{"backgroundColor":"#ffffff","fontColor":"#1a1a1a","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"buttonOptions":{"backgroundColor":"#334BFA","fontColor":"#ffffff","borderRadius":6},"isFullWidth":false}},"helpCenterName":"FlyCart Documentation | WordPress and WooCommerce Plugins","footerLogo":"https://downloads.intercomcdn.com/i/o/26355/8a31696e1efa103298fb69fc/flycart_twitter_logo_01.png","footerLogoHeight":"240","localisedInformation":{"contentBlock":null}},"user":{"userId":"2483d1dd-40f0-4187-8417-8e64be52ac13","role":"visitor_role"},"articleContent":{"articleId":"4203313","author":{"avatar":"https://static.intercomassets.com/avatars/1592542/square_128/casual-1702305652.png","name":"Ramesh","first_name":"Ramesh","avatar_shape":"circle"},"blocks":[{"type":"subheading3","text":"\u003cb\u003eIntroduction: \u003c/b\u003e","idAttribute":"h_6f7adb6db4"},{"type":"paragraph","text":"User role-based discounts are discounts offered to customers based on their assigned user role in your WooCommerce store. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eFor example\u003c/b\u003e, wholesale customers can be assigned a user role and provided with a bulk discount while retail customers can be assigned a different user role with no discount.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"These types of discounts aim to offer a customized shopping experience to customers, while also simplifying the process of managing discounts and promotions for store owners. With the \u003ca href=\"https://www.flycart.org/products/wordpress/woocommerce-discount-rules\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003eDiscount Rules for WooCommerce\u003c/a\u003e plugin, discounts are automatically applied based on the customer's assigned user role, which helps store owners save time and effort.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading3","text":"Below are some examples of discount scenarios based on user roles:","idAttribute":"h_b41e28b0b2"},{"type":"unorderedNestedList","text":"- Wholesale customers receive bulk discounts\n- Customers receive a 5% discount\n- Subscribers receive a 20% discount from whole cart ","items":[{"content":[{"type":"paragraph","text":"Wholesale customers receive bulk discounts","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Customers receive a 5% discount","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Subscribers receive a 20% discount from whole cart ","class":"no-margin"}]}]},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"To create discount rules with user role conditions, you need to have the Discount Rules PRO plugin installed and activated. You can purchase the PRO version by clicking on the provided button. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"button","text":"Get Discount Rules PRO","linkUrl":"https://www.flycart.org/products/wordpress/woocommerce-discount-rules","buttonStyle":"solid"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, let's take a closer look at each example in detail.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003ci\u003ePlease note that for the following example to work, it is assumed that you have already assigned the wholesale customers to a user role. User roles are a concept in WordPress that allows you to create any number of roles and assign users to them. You can use plugins like \u003ca href=\"https://wordpress.org/plugins/user-role-editor/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003eUser Role Editor\u003c/a\u003e to do this. If you haven't already assigned your users to any roles, we recommend that you consider assigning your wholesale customers to a user role to take advantage of the discounts.\u003c/i\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading3","text":"\u003cb\u003eExample 1 : Wholesale customers receive bulk discounts\u003c/b\u003e","idAttribute":"h_2bf6c0fa0c"},{"type":"paragraph","text":"This example illustrates how to provide bulk discounts to customers who belong to the \"wholesale\" user role in a WooCommerce store. These customers can enjoy discounts on their purchases when buying items in bulk quantities. ","class":"no-margin"},{"type":"paragraph","text":"For instance, they may receive a 5% discount when they buy 5 items, a 10% discount when they buy 10 items, and a 15% discount when they buy 15 items, regardless of the product.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"To create this rule, follow these steps","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule:\u003c/b\u003e","idAttribute":"h_940d203d68"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button\n- Select the discount types as “Bulk discount”, since we are offering bulk discount for “wholesale” user roles. ","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Select the discount types as “Bulk discount”, since we are offering bulk discount for “wholesale” user roles. ","class":"no-margin"}]}]},{"type":"subheading4","text":"\u003cb\u003eThen configure the discount rule as seen in the below screenshot:\u003c/b\u003e","idAttribute":"h_7a4807ca79"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994899/508c151ad724c555ad04244a/JNIOh2phe8btHs4vnAN2sFuj0OKiPpQ3NdKPxFulnWzBIpOTeQ9UE_wE6mWP4JXgxCuxBYR97d5eiA2EwCV6aV-1q1TOE-Eo8EtFDn1WJsEcMSNoUn240NZTx2L6_IXroV8kagBZE04bi49-JCv2ynI?expires=1732730400\u0026signature=2b6dd5e1a50b8d17e6e31321ead7c21748646cbf77780ca2cd94e85fa25bcaef\u0026req=cyEnH8B6lYhWFb4f3HP0gFAheudw486whsTEUzQU0cWkBITabHCwpbj7te8X%0ALat4W4Ep5lM5%2B3EfYg%3D%3D%0A"},{"type":"subheading4","text":"To configure the rule with “User role” condition, follow these steps:","idAttribute":"h_c7a538dc12"},{"type":"unorderedNestedList","text":"- Choose \"All Products\" as Filter or other options such as Categories, Products, Attributes, Tags, or Sku's.\n- Choose count quantities by to “Filter set above”\n- Set the first range (minimum and maximum quantity as 5 and 9) and set discount percentage. You also have options to choose Fixed discount or Fixed price for item. \n- Then, add other ranges as shown in screenshot using the “Add Range” button \n- Add additional condition as “User Role” and select Wholesale role here\n- Click \"SAVE\" after creating the rule successfully.\n ","items":[{"content":[{"type":"paragraph","text":"Choose \"All Products\" as Filter or other options such as Categories, Products, Attributes, Tags, or Sku's.","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Choose count quantities by to “Filter set above”","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Set the first range (minimum and maximum quantity as 5 and 9) and set discount percentage. You also have options to choose Fixed discount or Fixed price for item. ","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Then, add other ranges as shown in screenshot using the “Add Range” button ","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Add additional condition as “User Role” and select Wholesale role here","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Click \"SAVE\" after creating the rule successfully.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"}]}]},{"type":"paragraph","text":"Now, for wholesale customers (who logged in using a wholesale account), will receive a bulk discount based on their purchasing quantity. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eHere is the cart page screenshot of wholesale customer account receiving bulk discount while buying 5 quantities: \u003c/b\u003e","idAttribute":"h_b223e10510"},{"type":"image","url":"https://downloads.intercomcdn.com/i/o/710988167/493b0efa633e362c320a67ac/screenshot-localhost-2023.04.13-13_18_36.png?expires=1732730400\u0026signature=c0a9a935bb703c00dfbd6a0aec5da5b80741d47e889beb219d34f2cc7d47a31a\u0026req=cyEnH8F2nIdYFb4f3HP0gLVsdsSfOy724wQ0zwUx7GKwY5sik7tm%2B2j%2Bi81E%0A7h5s8H9QRXgPnRJ%2B8A%3D%3D%0A","width":851,"height":622},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading3","text":"\u003cb\u003eRefer this video to know more about Wholesaler User Role conditional scenarios:\u003c/b\u003e","idAttribute":"h_9ccaaa68fb"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"video","provider":"youtube","id":"rGfAi4xOt1I"},{"type":"subheading3","text":"\u003cb\u003eExample 2: Customers receive a 5% discount\u003c/b\u003e","idAttribute":"h_ba297dc97b"},{"type":"paragraph","text":"This example illustrates how to offer discounts that are targeted towards customers who have been assigned to the \"Customer\" user role. So, any customer who belongs to the \"Customer\" user role will receive a 5% discount on their purchase.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"To create this rule, follow these steps","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule:\u003c/b\u003e","idAttribute":"h_088fa64b33"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button\n- Select the discount types as “Product Adjustment”, since we are offering store wide 5% off for customers in “Customer” user role. ","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Select the discount types as “Product Adjustment”, since we are offering store wide 5% off for customers in “Customer” user role. ","class":"no-margin"}]}]},{"type":"subheading4","text":"\u003cb\u003eThen configure the discount rule as seen in the below screenshot:\u003c/b\u003e ","idAttribute":"h_d3f54ddc69"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994905/7d72c1009bca16ffc8920211/KVUn96p95NqY2oTYAFoMs9ps-F7mXypOVNviZcX2eB8-s6m_SpklBSK72gFqqCnN62KZU-oGLn73_B-pIOw-i4srDaNq8LGV4dLQgQ-1NosqyL8whsquCG1_LZ0Rg5V_9CHxHPwX870YSjRUEaX8iAE?expires=1732730400\u0026signature=14f65c0b2c605cf45207d3feb5f3726d8708ed20846f28f78850fbfa07f4d7ab\u0026req=cyEnH8B6lIFaFb4f3HP0gHM%2BRcXsQHCBd84I3ctXdjAC9sw8AKr0ywOPj0yQ%0Ae7njQabov9ErOmE11g%3D%3D%0A"},{"type":"subheading4","text":"To configure the rule with “User role” condition, follow these steps:","idAttribute":"h_68b7c7db9b"},{"type":"unorderedNestedList","text":"- Choose \"All Products\" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.\n- Set the discount type to a 5% percentage discount. You also have options to choose Fixed discount or Fixed price per item \n- Include “User role” as additional condition and add the “Customer” user role here \n- Click on “SAVE” once we have successfully created the rule. ","items":[{"content":[{"type":"paragraph","text":"Choose \"All Products\" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Set the discount type to a 5% percentage discount. You also have options to choose Fixed discount or Fixed price per item ","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Include “User role” as additional condition and add the “Customer” user role here ","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Click on “SAVE” once we have successfully created the rule. ","class":"no-margin"}]}]},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, for customers (who logged in using a Customer userrole account), will receive 5% off on all products in store. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eHere is the cart page screenshot of “Customer” user role account receiving 5% off on all products in cart: \u003c/b\u003e","idAttribute":"h_2732c8786d"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994915/ca8ecdea7248f9169ff9977d/V1LY-8whoZ3do0T527--PDfzKar-GxQZ-ARWyjj9NYtO2vjWZxt2dK0cIGhRMTVTX6ePN5J0iqL0vvphfya3-V-34v9Ein4AO0Z83jVmbyxoMaor1ZUfC_tO7qeKGFrq5rHs_HRpMQrGzCnj_a5Gxns?expires=1732730400\u0026signature=366c38a3192b5770ff72f77879cf037a122b215b1be77ffa5dfea13ca7f15312\u0026req=cyEnH8B6lIBaFb4f3HP0gA80fLKwl1Llkf8AmqX8KQQYDuEgkpD5VTRXInWb%0Ao1WOO5lRGn1FLVTsTw%3D%3D%0A"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading3","text":"\u003cb\u003eExample 3: Subscribers receive a 20% discount from whole cart \u003c/b\u003e","idAttribute":"h_bf4340fe5f"},{"type":"paragraph","text":"This example illustrates how to offer discounts that are targeted towards customers who have been assigned the \"Subscriber\" user role. So, any customer who belongs to the \"Subscriber\" user role will receive a 20% off from their whole cart. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"To create this rule, follow these steps","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule:\u003c/b\u003e","idAttribute":"h_94a03d85ad"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button\n- Select the discount types as “Cart Adjustment”, since we are offering 20% off from the whole cart for customers in the “Subscriber” user role. ","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; Woocommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Select the discount types as “Cart Adjustment”, since we are offering 20% off from the whole cart for customers in the “Subscriber” user role. ","class":"no-margin"}]}]},{"type":"subheading4","text":"\u003cb\u003eThen configure the discount rule as seen in the below screenshot:\u003c/b\u003e","idAttribute":"h_ddadd3ad7e"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994924/0ec92705a73a90495ec6f44e/CNgwVh3kqpC-TKVOVmrSmBa4TnMMNIjkX7oa3ZY8IX0O0cJC0cRQRM_NkmS6XlJ1b6pQ8TzqHRiiY5Ta1AI12Vp_Z6RG6yxhWdKlgPpkmbPF38VlTUo884eyJPXCCduG-yAJ3M1jOxiV4QCaGo7NmZo?expires=1732730400\u0026signature=c72559f5a766b243dd1c8d2fc751053063bea09cc15041628d66d16d7f07e47a\u0026req=cyEnH8B6lINbFb4f3HP0gEL%2FOyospw604QzSPCiigApRpH%2FyehMzBoFYUJgy%0AG1Kef3TnI05rp8GrYg%3D%3D%0A"},{"type":"subheading4","text":"To configure the rule with “User role” condition, follow these steps:","idAttribute":"h_0d9aea0bc6"},{"type":"unorderedNestedList","text":"- Choose \"All Products\" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.\n- Set the discount type to a 20% percentage discount. You also have options to choose Fixed discount or Fixed discount per product\n- Include “User role” as additional condition and add the “Subscriber” user role here \n- Click on “SAVE” once we have successfully created the rule. ","items":[{"content":[{"type":"paragraph","text":"Choose \"All Products\" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Set the discount type to a 20% percentage discount. You also have options to choose Fixed discount or Fixed discount per product","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Include “User role” as additional condition and add the “Subscriber” user role here ","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Click on “SAVE” once we have successfully created the rule. ","class":"no-margin"}]}]},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, customers (who logged in using a Subscriber user role account), will receive 20% off from their whole cart. ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eHere is the cart page screenshot of “Subscriber” user role account receiving 20% off from whole cart:\u003c/b\u003e","idAttribute":"h_bc39a5c77c"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/710994934/5617642809650f7489c25ef6/BzJHYlg91C9CnSQtNkg6pf3D1tNGly-GkpAQBfvNQt7v7XG_GC7yLi_Gs2zhfAmdmbL4UqRcFHYtuTu3Uy_L3Kzlihmd27B_wcBZE9gbNC0hBBwnpVT8BNRYK1-MPTlRWUuGM3zYaMsCE4kPmKRGIDU?expires=1732730400\u0026signature=0e9d78701cf0bdb09e7d270d7e69aa22a301f78e3f1d9f8bb204c98eaa041861\u0026req=cyEnH8B6lIJbFb4f3HP0gJISBW1H4jttl7qPXHa2ALRE7uFC3cszRwYhFr5z%0AQgQMR0ITMkMw7IemYg%3D%3D%0A"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"The above discussed scenarios require a PRO version.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"button","text":"Get Discount Rules PRO","linkUrl":"https://www.flycart.org/products/wordpress/woocommerce-discount-rules","buttonStyle":"solid"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"subheading3","text":"\u003cb\u003eNext Steps: \u003c/b\u003e","idAttribute":"h_f408e9f20c"},{"type":"paragraph","text":"\u003cb\u003eYou may also want to check out these helpful guides:\u003c/b\u003e","class":"no-margin"},{"type":"unorderedNestedList","text":"- \u003ca href=\"https://docs.flycart.org/en/articles/4223698-specific-customer-based-discount-2-0\"\u003eFind out how to set up customer-specific discounts by clicking here.\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/5116952-discount-based-on-cart-quantity\"\u003eIf you want to learn about discounts based on cart or item quantity, click here.\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/4206683-how-to-provide-first-order-discount-2-0\"\u003eClick here to discover how to give first-time customers a discount.\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/4268595-activate-discount-rule-using-a-coupon-code-in-woocommerce\"\u003eLearn how to use coupon codes to activate discount rules by clicking here.\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/3946529-discount-bar-discount-rules-2-0\"\u003eUse our Discount Bar to display discount information to your customers.\u003c/a\u003e\n ","items":[{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/4223698-specific-customer-based-discount-2-0\"\u003eFind out how to set up customer-specific discounts by clicking here.\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/5116952-discount-based-on-cart-quantity\"\u003eIf you want to learn about discounts based on cart or item quantity, click here.\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/4206683-how-to-provide-first-order-discount-2-0\"\u003eClick here to discover how to give first-time customers a discount.\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/4268595-activate-discount-rule-using-a-coupon-code-in-woocommerce\"\u003eLearn how to use coupon codes to activate discount rules by clicking here.\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/3946529-discount-bar-discount-rules-2-0\"\u003eUse our Discount Bar to display discount information to your customers.\u003c/a\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"}]}]},{"type":"subheading3","text":"\u003cb\u003eStill unclear?\u003c/b\u003e","idAttribute":"h_f7a491746c"},{"type":"paragraph","text":"If you need any assistance, please create a \u003cb\u003e\u003ca href=\"https://www.flycart.org/support\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003e support request\u003c/a\u003e\u003c/b\u003e at our ticket system. We are always happy to assist you :)","class":"no-margin"}],"collectionId":"2827998","description":"Learn how to offer discounts for particular user roles with the help of the Discount Rules for Woocommerce plugin.","id":"3575371","lastUpdated":"Updated over 8 months ago","relatedArticles":[{"title":"Free Shipping","url":"https://docs.flycart.org/en/articles/3807036-free-shipping"},{"title":"Bulk Discounts or Tiered Pricing","url":"https://docs.flycart.org/en/articles/3807208-bulk-discounts-or-tiered-pricing"},{"title":"Discount based on Specific Customers/ Logged in Users","url":"https://docs.flycart.org/en/articles/4223698-discount-based-on-specific-customers-logged-in-users"},{"title":"Discounts based on Cart Line Item Count","url":"https://docs.flycart.org/en/articles/4280177-discounts-based-on-cart-line-item-count"},{"title":"How to set up Discount Rules?","url":"https://docs.flycart.org/en/articles/4849528-how-to-set-up-discount-rules"}],"targetUserType":"everyone","title":"Discount based on User Role","showTableOfContents":true,"synced":false},"breadcrumbs":[{"url":"https://docs.flycart.org/en/collections/806883-discount-rules-for-woocommerce","name":"Discount Rules for WooCommerce"},{"url":"https://docs.flycart.org/en/collections/2827998-condition-based-discount","name":"Condition Based Discount"}],"selectedReaction":null,"showReactions":true,"themeCSSCustomProperties":{"--body-bg":"rgb(255, 255, 255)","--body-image":"none","--body-bg-rgb":"255, 255, 255","--body-border":"rgb(230, 230, 230)","--body-primary-color":"#1a1a1a","--body-secondary-color":"#737373","--body-reaction-bg":"rgb(242, 242, 242)","--body-reaction-text-color":"rgb(64, 64, 64)","--body-toc-active-border":"#737373","--body-toc-inactive-border":"#f2f2f2","--body-toc-inactive-color":"#737373","--body-toc-active-font-weight":400,"--body-table-border":"rgb(204, 204, 204)","--body-color":"hsl(0, 0%, 0%)","--footer-bg":"rgb(255, 255, 255)","--footer-image":"none","--footer-border":"rgb(230, 230, 230)","--footer-color":"hsl(211, 10%, 61%)","--header-bg":"rgb(0, 153, 229)","--header-image":"none","--header-color":"hsl(0, 0%, 100%)","--collection-card-bg":"rgb(255, 255, 255)","--collection-card-image":"none","--collection-card-color":"hsl(200, 100%, 45%)","--card-bg":"rgb(255, 255, 255)","--card-border-color":"rgb(230, 230, 230)","--card-border-inner-radius":"6px","--card-border-radius":"8px","--card-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--search-bar-border-radius":"10px","--search-bar-width":"100%","--ticket-blue-bg-color":"#dce1f9","--ticket-blue-text-color":"#334bfa","--ticket-green-bg-color":"#d7efdc","--ticket-green-text-color":"#0f7134","--ticket-orange-bg-color":"#ffebdb","--ticket-orange-text-color":"#b24d00","--header-height":"245px","--header-subheader-background-color":"#000000","--header-subheader-font-color":"#FFFFFF","--content-block-bg":"rgb(255, 255, 255)","--content-block-image":"none","--content-block-color":"hsl(0, 0%, 10%)","--content-block-button-bg":"rgb(51, 75, 250)","--content-block-button-image":"none","--content-block-button-color":"hsl(0, 0%, 100%)","--content-block-button-radius":"6px","--primary-color":"hsl(200, 100%, 45%)","--primary-color-alpha-10":"hsla(200, 100%, 45%, 0.1)","--primary-color-alpha-60":"hsla(200, 100%, 45%, 0.6)","--text-on-primary-color":"#1a1a1a"},"intl":{"defaultLocale":"en","locale":"en","messages":{"layout.skip_to_main_content":"Skip to main content","article.attachment_icon":"Attachment icon","article.related_articles":"Related Articles","article.written_by":"Written by \u003cb\u003e{author}\u003c/b\u003e","article.table_of_contents":"Table of contents","breadcrumb.all_collections":"All Collections","collection.article_count.one":"{count} article","collection.article_count.other":"{count} articles","collection.articles_heading":"Articles","collection.sections_heading":"Collections","collection.written_by.one":"Written by \u003cb\u003e{author}\u003c/b\u003e","collection.written_by.two":"Written by \u003cb\u003e{author1}\u003c/b\u003e and \u003cb\u003e{author2}\u003c/b\u003e","collection.written_by.three":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e and \u003cb\u003e{author3}\u003c/b\u003e","collection.written_by.four":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and 1 other","collection.written_by.other":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and {count} others","collection.by.one":"By {author}","collection.by.two":"By {author1} and 1 other","collection.by.other":"By {author1} and {count} others","collection.by.count_one":"1 author","collection.by.count_plural":"{count} authors","community_banner.tip":"Tip","community_banner.label":"\u003cb\u003eNeed more help?\u003c/b\u003e Get support from our {link}","community_banner.link_label":"Community Forum","community_banner.description":"Find answers and get help from Intercom Support and Community Experts","header.headline":"Advice and answers from the {appName} Team","header.menu.open":"Open menu","header.menu.close":"Close menu","locale_picker.aria_label":"Change language","not_authorized.cta":"You can try sending us a message or logging in at {link}","not_found.title":"Uh oh. That page doesn’t exist.","not_found.not_here":"That page isn’t here anymore","not_found.not_authorized":"Unable to load this article, you may need to sign in first","not_found.try_searching":"Try searching for your answer","not_found.send_a_message":"Or just send us a message","tickets_portal_bad_request.title":"No access to tickets portal","tickets_portal_bad_request.learn_more":"Learn more","tickets_portal_bad_request.send_a_message":"Please contact your admin.","no_articles.title":"Empty Help Center","no_articles.no_articles":"This Help Center doesn't have any articles or collections yet.","preview.invalid_preview":"There is no preview available for {previewType}","reaction_picker.did_this_answer_your_question":"Did this answer your question?","reaction_picker.reaction.disappointed.title":"Disappointed","reaction_picker.reaction.disappointed.aria_label":"Disappointed Reaction","reaction_picker.reaction.neutral.title":"Neutral","reaction_picker.reaction.neutral.aria_label":"Neutral Reaction","reaction_picker.reaction.smiley.title":"Smiley","reaction_picker.reaction.smiley.aria_label":"Smiley Reaction","search.box_placeholder":"Search for articles...","search.no_results":"We couldn't find any articles for:","search.clear_search":"Clear search query","search.successful":"Search results for:","search.submit_btn":"Search for articles","footer.powered_by":"We run on Intercom","footer.social.facebook":"Facebook","footer.social.linkedin":"LinkedIn","footer.social.twitter":"Twitter","tickets.title":"Tickets","tickets.company_selector_option":"{companyName}’s tickets","tickets.all_states":"All states","tickets.filters.company_tickets":"All tickets","tickets.filters.my_tickets":"Created by me","tickets.no_tickets_found":"No tickets found","tickets.navigation.home":"Home","tickets.navigation.tickets_portal":"Tickets portal","tickets.navigation.ticket_details":"Ticket #{ticketId}","tickets.view_conversation":"View conversation","tickets.send_message":"Send us a message","tickets.continue_conversation":"Continue the conversation","tickets.avatar_image.image_alt":"{firstName}’s avatar","tickets.fields.id":"Ticket ID","tickets.fields.type":"Ticket type","tickets.fields.title":"Title","tickets.fields.description":"Description","tickets.fields.created_by":"Created by","tickets.fields.email_for_notification":"You will be notified here and by email","tickets.fields.created_at":"Creation date","tickets.fields.state":"Ticket state","tickets.fields.assignee":"Assignee","tickets.link-block.title":"Tickets portal.","tickets.link-block.description":"Track the progress of all tickets related to your company.","tickets.states.submitted":"Submitted","tickets.states.in_progress":"In progress","tickets.states.waiting_on_customer":"Waiting on you","tickets.states.resolved":"Resolved","tickets.states.description.unassigned.submitted":"We will pick this up soon","tickets.states.description.assigned.submitted":"{assigneeName} will pick this up soon","tickets.states.description.unassigned.in_progress":"We are working on this!","tickets.states.description.assigned.in_progress":"{assigneeName} is working on this!","tickets.states.description.unassigned.waiting_on_customer":"We need more information from you","tickets.states.description.assigned.waiting_on_customer":"{assigneeName} needs more information from you","tickets.states.description.unassigned.resolved":"We have completed your ticket","tickets.states.description.assigned.resolved":"{assigneeName} has completed your ticket","tickets.attributes.boolean.true":"Yes","tickets.attributes.boolean.false":"No"}},"_sentryTraceData":"7d51c09bfbb4b4737b7021fbc4bc3288-9d7a5a77c34a4c6c-0","_sentryBaggage":"sentry-environment=production,sentry-release=pBE9iWbiWcYTeTlBTemWk,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=7d51c09bfbb4b4737b7021fbc4bc3288,sentry-sampled=false"},"__N_SSP":true},"page":"/[helpCenterIdentifier]/[locale]/articles/[articleSlug]","query":{"helpCenterIdentifier":"flycartdocs","locale":"en","articleSlug":"4203313-discount-based-on-user-role"},"buildId":"pBE9iWbiWcYTeTlBTemWk","assetPrefix":"https://static.intercomassets.com","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[9807],"gssp":true,"scriptLoader":[]}</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10