CINXE.COM

Intercom

<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8" data-next-head=""/><title data-next-head="">Buy X and Get Y Product for free (or at 50% discount) | FlyCart Documentation | WordPress and WooCommerce Plugins</title><meta property="og:title" content="Buy X and Get Y Product for free (or at 50% discount) | FlyCart Documentation | WordPress and WooCommerce Plugins" data-next-head=""/><meta name="twitter:title" content="Buy X and Get Y Product for free (or at 50% discount) | FlyCart Documentation | WordPress and WooCommerce Plugins" data-next-head=""/><meta property="og:description" content="Learn how to create “Buy a product and get another product free” in your WooCommerce store with Discount Rules for WooCommerce." data-next-head=""/><meta name="twitter:description" content="Learn how to create “Buy a product and get another product free” in your WooCommerce store with Discount Rules for WooCommerce." data-next-head=""/><meta name="description" content="Learn how to create “Buy a product and get another product free” in your WooCommerce store with Discount Rules for WooCommerce." 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/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount" data-next-head=""/><link rel="alternate" href="https://docs.flycart.org/en/articles/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount" hrefLang="en" data-next-head=""/><link rel="alternate" href="https://docs.flycart.org/en/articles/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount" hrefLang="x-default" data-next-head=""/><link nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" rel="preload" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" as="style"/><link nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" rel="stylesheet" href="https://static.intercomassets.com/_next/static/css/02742ed7dc6dee08.css" data-n-g=""/><noscript data-n-css="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w="></noscript><script defer="" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" 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="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w="></script><script src="https://static.intercomassets.com/_next/static/chunks/webpack-419405815d68ca74.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/framework-c2b23989aabf8846.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/main-f1052d0773c47c55.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/_app-597349e46f8fbe07.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/da8cbcf2-515374c1b53e94b9.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/7833-df2988330df11b54.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/8277-c9f765c885eef948.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/639-4cba3a85bc80cea4.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/2266-6ece4d4ecd5a090f.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/6408-1b0e182947803382.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/%5BhelpCenterIdentifier%5D/%5Blocale%5D/articles/%5BarticleSlug%5D-f23178055b57ca92.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/aPweG0a0_1x27RPUgNwh8/_buildManifest.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><script src="https://static.intercomassets.com/_next/static/aPweG0a0_1x27RPUgNwh8/_ssgManifest.js" nonce="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=" defer=""></script><meta name="sentry-trace" content="65aea1f3a878bfad02a6fd9ee6bbd098-87657be51b76eb5d-0"/><meta name="baggage" content="sentry-environment=production,sentry-release=aPweG0a0_1x27RPUgNwh8,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=65aea1f3a878bfad02a6fd9ee6bbd098,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/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount" 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/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount" 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/2828016-buy-one-get-one-scenarios" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color" data-testid="breadcrumb-1">Buy One get One Scenarios</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">Buy X and Get Y Product for free (or at 50% discount)</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">Buy X and Get Y Product for free (or at 50% discount)</header><div class="text-md font-normal leading-normal text-body-secondary-color"><p>Learn how to create “Buy a product and get another product free” in your WooCommerce store with Discount Rules for WooCommerce.</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-paragraph no-margin intercom-interblocks-align-left"><p><b>Introduction : </b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Product-based discounts in <a href="https://www.flycart.org/products/wordpress/woocommerce-discount-rules" rel="nofollow noopener noreferrer" target="_blank">Discount rules for WooCommerce</a> plugin offered to customers based on the products they purchase. Product-based discounts can be a powerful tool for businesses to increase sales and promote specific products.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>This user guide explains how to implement Product-based discounts 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>The following are some of the examples for Product-based discounts,</p></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Buy Product A and get a 50% discount on the free Product B.</p></div></li><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Buy Product A and get one of the Variable product for free</p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> Before getting started, please make sure that you have installed and activated the “<a href="http://flycart.org/products/wordpress/woocommerce-discount-rules" rel="nofollow noopener noreferrer" target="_blank">Discount Rules PRO</a>&#x27;&#x27; plugin. The above scenarios require the Buy X Get Y discount type feature, which is available only in the 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>Let’s get started</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>Example 1 : Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..</b></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>In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for free. Additionally, when they increase the quantity of Product A, they will receive the equal number of Product B for free recursively automatically.</p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_0ec615f7ae"><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></ul></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y” as the Discount type.</p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Here is the screenshot of the rule configuration that follows,</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036138/9c439ecfb8bc38bdeada42f8/2rjpPPwyKAXTQbFbNXNGgvTN5ifIwt5s8q0k2jaKVA-ZybU9jaa_6GtyDfkzdqayqPiJilRT831dJAHhQTUbr7BzRaLaDr1cEN5jTqRJnfCE_iH38m06Av8twxVzcvr_CVrFoQq3QiZd_36VvYCXDn8?expires=1732382100&amp;signature=d964a235fee5fa76121d35b334d6a6943c80f0817ee3eecefd75345ab8ae07e3&amp;req=cycjFsp4nIJXFb4f3HP0gFQnepaCUu3AVFJpaF2YRaJg9XT62Lx8sr7uhise%0AU2tkZtPTLuvC5wwovA%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036138/9c439ecfb8bc38bdeada42f8/2rjpPPwyKAXTQbFbNXNGgvTN5ifIwt5s8q0k2jaKVA-ZybU9jaa_6GtyDfkzdqayqPiJilRT831dJAHhQTUbr7BzRaLaDr1cEN5jTqRJnfCE_iH38m06Av8twxVzcvr_CVrFoQq3QiZd_36VvYCXDn8?expires=1732382100&amp;signature=d964a235fee5fa76121d35b334d6a6943c80f0817ee3eecefd75345ab8ae07e3&amp;req=cycjFsp4nIJXFb4f3HP0gFQnepaCUu3AVFJpaF2YRaJg9XT62Lx8sr7uhise%0AU2tkZtPTLuvC5wwovA%3D%3D%0A"/></a></div><div class="intercom-interblocks-subheading3 intercom-interblocks-align-left"><h3 id="h_f868b4194e"><b>Rule Configuration : </b></h3></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Filter Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;Products&quot; in the &quot;Filter&quot; section as customers have discounts for specific products.</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>Discount Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y Products” in the Discount section as the discount is for the specific products. You can also have other options depending on your requirement.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose how to count the quantities as -&gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto Add”.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the minimum quantity as “1” and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enable Recursive option in-order to repeat the discounts endlessly.</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>Once configured, save and publish the rule.</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>Now, when the customer adds one of Product A, one of Product B would be automatically added as a free 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>Here is the screenshot of the cart page showing an example: </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036141/9f0ab9377081ebaec5e0cc7b/w5BU90-JYP18ZXK2pYLh_3DPYsqMuMeuu-5GU9VmMiZ97IdBIZub2KOzJPTFyrov0Jb52DIi0WNIEpwuB3Ia4czKwUIZ2lL_jiVndAzY1Di6XOW8PXV9X19GadEjeqI2eAqcIEn3CID1Dlov0zXfqZc?expires=1732382100&amp;signature=1518ab4d6a7581b534484bd1cd69820e2528585cdd7582108ec2f3eef9fbe659&amp;req=cycjFsp4nIVeFb4f3HP0gJUPj7Iyvs5qqNc%2F3KGV5te2vaGeZloE9tUSYfXP%0AhE0EuFwCPjQN09tQ0g%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036141/9f0ab9377081ebaec5e0cc7b/w5BU90-JYP18ZXK2pYLh_3DPYsqMuMeuu-5GU9VmMiZ97IdBIZub2KOzJPTFyrov0Jb52DIi0WNIEpwuB3Ia4czKwUIZ2lL_jiVndAzY1Di6XOW8PXV9X19GadEjeqI2eAqcIEn3CID1Dlov0zXfqZc?expires=1732382100&amp;signature=1518ab4d6a7581b534484bd1cd69820e2528585cdd7582108ec2f3eef9fbe659&amp;req=cycjFsp4nIVeFb4f3HP0gJUPj7Iyvs5qqNc%2F3KGV5te2vaGeZloE9tUSYfXP%0AhE0EuFwCPjQN09tQ0g%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Example 2 : Buy Product A and get a 50% discount on the free Product B</b></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>In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for 50% discount automatically. </p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_ccce2c9a5a"><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></ul></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y” as the Discount type.</p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Here is the screenshot of the rule configuration that follows,</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036148/86be996e18a4fc3ce83299d5/WLIK3F6Ej9zUnaALhmoX0lujVqtfJdfqrdmWHIUA9B8CGSxBO1gXt6OOPuikmwdiQVin9FDPSM_CoVV8P9hrGsF6j-5kVUR-BI6h8svxfNLSZ8mIkNmqLyKef8FVrnGOX3WrTVu3QHCJ5PVx8lqCc3Q?expires=1732382100&amp;signature=c607b5e57c7d08f1bed2aa5e6d1c9bfb077344b76518915ac73895d4f0fa0116&amp;req=cycjFsp4nIVXFb4f3HP0gDkxyr57NMvEtvv2wl7sgLuxtraKIzvupIHE6leI%0Am7fKG3eSI7pZ8rsmNA%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036148/86be996e18a4fc3ce83299d5/WLIK3F6Ej9zUnaALhmoX0lujVqtfJdfqrdmWHIUA9B8CGSxBO1gXt6OOPuikmwdiQVin9FDPSM_CoVV8P9hrGsF6j-5kVUR-BI6h8svxfNLSZ8mIkNmqLyKef8FVrnGOX3WrTVu3QHCJ5PVx8lqCc3Q?expires=1732382100&amp;signature=c607b5e57c7d08f1bed2aa5e6d1c9bfb077344b76518915ac73895d4f0fa0116&amp;req=cycjFsp4nIVXFb4f3HP0gDkxyr57NMvEtvv2wl7sgLuxtraKIzvupIHE6leI%0Am7fKG3eSI7pZ8rsmNA%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Rule Configuration : </b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Filter Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;Products&quot; in the &quot;Filter&quot; section as customers have discounts for specific products.</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>Discount Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose how to count the quantities as -&gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the free quantity as “1” and discount type as “Percentage Discount” and enter the discount percentage as “50”</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>Once configured, save and publish the rule.</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>Now, when the customer adds one of Product A, one of Product B would be automatically added to which 50% discount would be applied.</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>Here is the screenshot of the cart page showing an example: </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036152/59123056928b2fc99331925e/Gbo9n-RKmZraOB0X8aFdGIB22ESMofJyYJ-xL09Bu8zUsq7yc-0gy0YIb2hr7ovi6-wGmu0aeGOeJXxSKcjW5mya0Fx6ffjmlscTtIwBwmUcUuFRZrgkLkDuUEZNw7RxovZIyqRL0ugQw-Ysb-X_4vU?expires=1732382100&amp;signature=ccb60e052315a344451fa44f527143d3127832a1ed9f3213cf2f90e3f766ebf6&amp;req=cycjFsp4nIRdFb4f3HP0gEPFtqS8VxsqWfKmL4Wpdqq9eV6iW1TexwfTVcPR%0A92VBMS%2FSotQZ4%2FZh%2BA%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036152/59123056928b2fc99331925e/Gbo9n-RKmZraOB0X8aFdGIB22ESMofJyYJ-xL09Bu8zUsq7yc-0gy0YIb2hr7ovi6-wGmu0aeGOeJXxSKcjW5mya0Fx6ffjmlscTtIwBwmUcUuFRZrgkLkDuUEZNw7RxovZIyqRL0ugQw-Ysb-X_4vU?expires=1732382100&amp;signature=ccb60e052315a344451fa44f527143d3127832a1ed9f3213cf2f90e3f766ebf6&amp;req=cycjFsp4nIRdFb4f3HP0gEPFtqS8VxsqWfKmL4Wpdqq9eV6iW1TexwfTVcPR%0A92VBMS%2FSotQZ4%2FZh%2BA%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Example 3 : Buy Product A and get one of the Variable products for free.</b></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>In this scenario, customers have the opportunity to purchase one Product A and receive one of the variable products for free automatically. Customers have a choice of choosing their preferred product from the variations.</p></div><div class="intercom-interblocks-subheading4 intercom-interblocks-align-left"><h4 id="h_fa7f2e2050"><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></ul></div><div class="intercom-interblocks-unordered-nested-list"><ul><li><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y” as the Discount type.</p></div></li></ul></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Here is the screenshot of the rule configuration that follows,</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036159/4ab97278ed9b4c0e7d64c208/QIXdDbz34k9OkALauEfBXH4cldygTntttQQwrI6MpqxECCC31pSrLfZB0-24FpfnS7ewU7d7HF2-qMlhcgS-n0bKEwsqxeZRpeiYdzuSyn16dQiz6hwQf6UGPAkXxv3RI1sT4irhPw2l191q0EhX320?expires=1732382100&amp;signature=d6e95226b814656cf4fb7c6ca3c3ae12b1bdd73462ae76ad7cebf041fa78c462&amp;req=cycjFsp4nIRWFb4f3HP0gD%2BL%2F8i6xykvZjjfM3mKCPocP7o743MCGdtetRIj%0AUlPspt2MDnlIIN6BxQ%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036159/4ab97278ed9b4c0e7d64c208/QIXdDbz34k9OkALauEfBXH4cldygTntttQQwrI6MpqxECCC31pSrLfZB0-24FpfnS7ewU7d7HF2-qMlhcgS-n0bKEwsqxeZRpeiYdzuSyn16dQiz6hwQf6UGPAkXxv3RI1sT4irhPw2l191q0EhX320?expires=1732382100&amp;signature=d6e95226b814656cf4fb7c6ca3c3ae12b1bdd73462ae76ad7cebf041fa78c462&amp;req=cycjFsp4nIRWFb4f3HP0gD%2BL%2F8i6xykvZjjfM3mKCPocP7o743MCGdtetRIj%0AUlPspt2MDnlIIN6BxQ%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Rule Configuration : </b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p><b>Filter Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose &quot;Products&quot; in the &quot;Filter&quot; section as customers have discounts for specific products.</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>Discount Section</b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Choose how to count the quantities as -&gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.</p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)</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>Once configured, save and publish the rule.</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>Now, when the customer adds one of Product A, one of Product B (variable product) would be automatically added as a free 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>Here is the screenshot of the cart page showing an example: </p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p> </p></div><div class="intercom-interblocks-image intercom-interblocks-align-left"><a href="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036169/e465f84e15e5267620c5d7e8/99dDhekKb7gtlIDRg_5qqcuG2jXfgt669hciRzFaLR0H6z8_YIqchuLU-AraJ6paiZikEdgC6MBlzUYWVHl3_AARgIo-JWkv4t128rMSh-gSgoNrgattbZCwca5NxxEAJslpjAPf9wKyr8gxVm3ul4o?expires=1732382100&amp;signature=1a4adc3a8acb6f0b1189048a0714089d899bc816b69d6851b88f3be868ebd9c3&amp;req=cycjFsp4nIdWFb4f3HP0gLpgVMv7FAtfce4dm%2B%2FvPxH2vawj4OSA0qGpRdtP%0AnugjKY0sZgkaCVdXrA%3D%3D%0A" target="_blank" rel="noreferrer nofollow noopener"><img src="https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036169/e465f84e15e5267620c5d7e8/99dDhekKb7gtlIDRg_5qqcuG2jXfgt669hciRzFaLR0H6z8_YIqchuLU-AraJ6paiZikEdgC6MBlzUYWVHl3_AARgIo-JWkv4t128rMSh-gSgoNrgattbZCwca5NxxEAJslpjAPf9wKyr8gxVm3ul4o?expires=1732382100&amp;signature=1a4adc3a8acb6f0b1189048a0714089d899bc816b69d6851b88f3be868ebd9c3&amp;req=cycjFsp4nIdWFb4f3HP0gLpgVMv7FAtfce4dm%2B%2FvPxH2vawj4OSA0qGpRdtP%0AnugjKY0sZgkaCVdXrA%3D%3D%0A"/></a></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>By clicking on the Change Variant, customers can choose their preferred variant in 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>Some of the examples discussed here will require Discount Rules PRO.</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><b>Next Steps : </b></p></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>You may also want to check out these helpful guides : </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/3806593-cart-adjustment">Learn how to have Cart Adjustment based discounts</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/3807208-bulk-discounts-or-tiered-pricing">Learn how to have Bulk discounts</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/3809899-bundle-set-discount-discount-rules-2-0">Learn how to have Bundle Set 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/3834240-conditions-rules">Learn how to add Conditions and Rules for additional conditions</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/4164153-buy-product-a-b-and-get-discount-in-product-c">Learn how to offer discounts for Product C when both Product A and B are added to the cart.</a></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><b>Refer this video to know more about Products based discounts:</b></p></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/sLqLTr4OK5Y" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div><div class="intercom-interblocks-paragraph no-margin intercom-interblocks-align-left"><p>Still unclear?</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>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/3810071-buy-one-get-one-free-buy-x-get-x" 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">Buy One Get One Free (Buy X Get X)</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/3810570-buy-x-get-y" 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">Buy X Get Y</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/3946511-buy-any-item-from-category-a-and-get-discount-on-category-b" 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">Buy any item from Category A and get Discount on Category B</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/4164153-buy-product-a-b-and-get-discount-in-product-c" 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">Buy Product A + B and Get discount in Product C</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/4217810-buy-product-a-b-c-and-get-different-discounts" 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">Buy Product A+B+C and get different discounts</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%2F3953967-buy-x-and-get-y-product-for-free-or-at-50-discount&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="rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=">{"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%2F3953967-buy-x-and-get-y-product-for-free-or-at-50-discount\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/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount","available":true,"name":"English","selected":true,"url":"/en/articles/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount"}],"requestContext":{"articleSource":null,"canonicalUrl":"https://docs.flycart.org/en/articles/3953967-buy-x-and-get-y-product-for-free-or-at-50-discount","headerless":false,"isDefaultDomainRequest":false,"nonce":"rkwJQV58BgsnS7d6A9AFFIh0ZnM4fW+CHbJtHKeQb1w=","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":"22cf4bd2-9ed4-4fcd-b915-c5dc8a309149","role":"visitor_role"},"articleContent":{"articleId":"3953967","author":{"avatar":"https://static.intercomassets.com/avatars/1592542/square_128/casual-1702305652.png","name":"Ramesh","first_name":"Ramesh","avatar_shape":"circle"},"blocks":[{"type":"paragraph","text":"\u003cb\u003eIntroduction : \u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Product-based discounts in \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 offered to customers based on the products they purchase. Product-based discounts can be a powerful tool for businesses to increase sales and promote specific products.","class":"no-margin"},{"type":"paragraph","text":"This user guide explains how to implement Product-based discounts in your WooCommerce store.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"The following are some of the examples for Product-based discounts,","class":"no-margin"},{"type":"unorderedNestedList","text":"- Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..\n- Buy Product A and get a 50% discount on the free Product B.\n- Buy Product A and get one of the Variable product for free","items":[{"content":[{"type":"paragraph","text":"Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Buy Product A and get a 50% discount on the free Product B.","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"Buy Product A and get one of the Variable product for free","class":"no-margin"}]}]},{"type":"paragraph","text":" Before getting started, please make sure that you have installed and activated the “\u003ca href=\"http://flycart.org/products/wordpress/woocommerce-discount-rules\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"\u003eDiscount Rules PRO\u003c/a\u003e'' plugin. The above scenarios require the Buy X Get Y discount type feature, which is available only in the 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":"Let’s get started","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eExample 1 : Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for free. Additionally, when they increase the quantity of Product A, they will receive the equal number of Product B for free recursively automatically.","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule\u003c/b\u003e","idAttribute":"h_0ec615f7ae"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","class":"no-margin"}]}]},{"type":"unorderedNestedList","text":"- Choose “Buy X Get Y” as the Discount type.","items":[{"content":[{"type":"paragraph","text":"Choose “Buy X Get Y” as the Discount type.","class":"no-margin"}]}]},{"type":"paragraph","text":"Here is the screenshot of the rule configuration that follows,","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036138/9c439ecfb8bc38bdeada42f8/2rjpPPwyKAXTQbFbNXNGgvTN5ifIwt5s8q0k2jaKVA-ZybU9jaa_6GtyDfkzdqayqPiJilRT831dJAHhQTUbr7BzRaLaDr1cEN5jTqRJnfCE_iH38m06Av8twxVzcvr_CVrFoQq3QiZd_36VvYCXDn8?expires=1732382100\u0026signature=d964a235fee5fa76121d35b334d6a6943c80f0817ee3eecefd75345ab8ae07e3\u0026req=cycjFsp4nIJXFb4f3HP0gFQnepaCUu3AVFJpaF2YRaJg9XT62Lx8sr7uhise%0AU2tkZtPTLuvC5wwovA%3D%3D%0A"},{"type":"subheading3","text":"\u003cb\u003eRule Configuration : \u003c/b\u003e","idAttribute":"h_f868b4194e"},{"type":"paragraph","text":"\u003cb\u003eFilter Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose \"Products\" in the \"Filter\" section as customers have discounts for specific products.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eDiscount Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose “Buy X Get Y Products” in the Discount section as the discount is for the specific products. You can also have other options depending on your requirement.","class":"no-margin"},{"type":"paragraph","text":"Choose how to count the quantities as -\u0026gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto Add”.","class":"no-margin"},{"type":"paragraph","text":"Enter the minimum quantity as “1” and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.","class":"no-margin"},{"type":"paragraph","text":"Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)","class":"no-margin"},{"type":"paragraph","text":"Enable Recursive option in-order to repeat the discounts endlessly.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Once configured, save and publish the rule.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, when the customer adds one of Product A, one of Product B would be automatically added as a free product.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Here is the screenshot of the cart page showing an example: ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036141/9f0ab9377081ebaec5e0cc7b/w5BU90-JYP18ZXK2pYLh_3DPYsqMuMeuu-5GU9VmMiZ97IdBIZub2KOzJPTFyrov0Jb52DIi0WNIEpwuB3Ia4czKwUIZ2lL_jiVndAzY1Di6XOW8PXV9X19GadEjeqI2eAqcIEn3CID1Dlov0zXfqZc?expires=1732382100\u0026signature=1518ab4d6a7581b534484bd1cd69820e2528585cdd7582108ec2f3eef9fbe659\u0026req=cycjFsp4nIVeFb4f3HP0gJUPj7Iyvs5qqNc%2F3KGV5te2vaGeZloE9tUSYfXP%0AhE0EuFwCPjQN09tQ0g%3D%3D%0A"},{"type":"paragraph","text":"\u003cb\u003eExample 2 : Buy Product A and get a 50% discount on the free Product B\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for 50% discount automatically. ","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule\u003c/b\u003e","idAttribute":"h_ccce2c9a5a"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","class":"no-margin"}]}]},{"type":"unorderedNestedList","text":"- Choose “Buy X Get Y” as the Discount type.","items":[{"content":[{"type":"paragraph","text":"Choose “Buy X Get Y” as the Discount type.","class":"no-margin"}]}]},{"type":"paragraph","text":"Here is the screenshot of the rule configuration that follows,","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036148/86be996e18a4fc3ce83299d5/WLIK3F6Ej9zUnaALhmoX0lujVqtfJdfqrdmWHIUA9B8CGSxBO1gXt6OOPuikmwdiQVin9FDPSM_CoVV8P9hrGsF6j-5kVUR-BI6h8svxfNLSZ8mIkNmqLyKef8FVrnGOX3WrTVu3QHCJ5PVx8lqCc3Q?expires=1732382100\u0026signature=c607b5e57c7d08f1bed2aa5e6d1c9bfb077344b76518915ac73895d4f0fa0116\u0026req=cycjFsp4nIVXFb4f3HP0gDkxyr57NMvEtvv2wl7sgLuxtraKIzvupIHE6leI%0Am7fKG3eSI7pZ8rsmNA%3D%3D%0A"},{"type":"paragraph","text":"\u003cb\u003eRule Configuration : \u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eFilter Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose \"Products\" in the \"Filter\" section as customers have discounts for specific products.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eDiscount Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.","class":"no-margin"},{"type":"paragraph","text":"Choose how to count the quantities as -\u0026gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.","class":"no-margin"},{"type":"paragraph","text":"Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.","class":"no-margin"},{"type":"paragraph","text":"Enter the free quantity as “1” and discount type as “Percentage Discount” and enter the discount percentage as “50”","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Once configured, save and publish the rule.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, when the customer adds one of Product A, one of Product B would be automatically added to which 50% discount would be applied.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Here is the screenshot of the cart page showing an example: ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036152/59123056928b2fc99331925e/Gbo9n-RKmZraOB0X8aFdGIB22ESMofJyYJ-xL09Bu8zUsq7yc-0gy0YIb2hr7ovi6-wGmu0aeGOeJXxSKcjW5mya0Fx6ffjmlscTtIwBwmUcUuFRZrgkLkDuUEZNw7RxovZIyqRL0ugQw-Ysb-X_4vU?expires=1732382100\u0026signature=ccb60e052315a344451fa44f527143d3127832a1ed9f3213cf2f90e3f766ebf6\u0026req=cycjFsp4nIRdFb4f3HP0gEPFtqS8VxsqWfKmL4Wpdqq9eV6iW1TexwfTVcPR%0A92VBMS%2FSotQZ4%2FZh%2BA%3D%3D%0A"},{"type":"paragraph","text":"\u003cb\u003eExample 3 : Buy Product A and get one of the Variable products for free.\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"In this scenario, customers have the opportunity to purchase one Product A and receive one of the variable products for free automatically. Customers have a choice of choosing their preferred product from the variations.","class":"no-margin"},{"type":"subheading4","text":"\u003cb\u003eCreating a Discount Rule\u003c/b\u003e","idAttribute":"h_fa7f2e2050"},{"type":"unorderedNestedList","text":"- Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","items":[{"content":[{"type":"paragraph","text":"Go to WordPress dashboard -\u0026gt; WooCommerce -\u0026gt; Discount Rules -\u0026gt; Click on “Add New Rule” button.","class":"no-margin"}]}]},{"type":"unorderedNestedList","text":"- Choose “Buy X Get Y” as the Discount type.","items":[{"content":[{"type":"paragraph","text":"Choose “Buy X Get Y” as the Discount type.","class":"no-margin"}]}]},{"type":"paragraph","text":"Here is the screenshot of the rule configuration that follows,","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036159/4ab97278ed9b4c0e7d64c208/QIXdDbz34k9OkALauEfBXH4cldygTntttQQwrI6MpqxECCC31pSrLfZB0-24FpfnS7ewU7d7HF2-qMlhcgS-n0bKEwsqxeZRpeiYdzuSyn16dQiz6hwQf6UGPAkXxv3RI1sT4irhPw2l191q0EhX320?expires=1732382100\u0026signature=d6e95226b814656cf4fb7c6ca3c3ae12b1bdd73462ae76ad7cebf041fa78c462\u0026req=cycjFsp4nIRWFb4f3HP0gD%2BL%2F8i6xykvZjjfM3mKCPocP7o743MCGdtetRIj%0AUlPspt2MDnlIIN6BxQ%3D%3D%0A"},{"type":"paragraph","text":"\u003cb\u003eRule Configuration : \u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eFilter Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose \"Products\" in the \"Filter\" section as customers have discounts for specific products.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eDiscount Section\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.","class":"no-margin"},{"type":"paragraph","text":"Choose how to count the quantities as -\u0026gt; Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.","class":"no-margin"},{"type":"paragraph","text":"Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.","class":"no-margin"},{"type":"paragraph","text":"Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Once configured, save and publish the rule.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Now, when the customer adds one of Product A, one of Product B (variable product) would be automatically added as a free product.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Here is the screenshot of the cart page showing an example: ","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"image","url":"https://flycart-476d7aae12f5.intercom-attachments-7.com/i/o/774036169/e465f84e15e5267620c5d7e8/99dDhekKb7gtlIDRg_5qqcuG2jXfgt669hciRzFaLR0H6z8_YIqchuLU-AraJ6paiZikEdgC6MBlzUYWVHl3_AARgIo-JWkv4t128rMSh-gSgoNrgattbZCwca5NxxEAJslpjAPf9wKyr8gxVm3ul4o?expires=1732382100\u0026signature=1a4adc3a8acb6f0b1189048a0714089d899bc816b69d6851b88f3be868ebd9c3\u0026req=cycjFsp4nIdWFb4f3HP0gLpgVMv7FAtfce4dm%2B%2FvPxH2vawj4OSA0qGpRdtP%0AnugjKY0sZgkaCVdXrA%3D%3D%0A"},{"type":"paragraph","text":"By clicking on the Change Variant, customers can choose their preferred variant in the product.","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"Some of the examples discussed here will require Discount Rules PRO.","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":"\u003cb\u003eNext Steps : \u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":"You may also want to check out these helpful guides : ","class":"no-margin"},{"type":"unorderedNestedList","text":"- \u003ca href=\"https://docs.flycart.org/en/articles/3806593-cart-adjustment\"\u003eLearn how to have Cart Adjustment based discounts\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/3807208-bulk-discounts-or-tiered-pricing\"\u003eLearn how to have Bulk discounts\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/3809899-bundle-set-discount-discount-rules-2-0\"\u003eLearn how to have Bundle Set Discount\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/3834240-conditions-rules\"\u003eLearn how to add Conditions and Rules for additional conditions\u003c/a\u003e\n- \u003ca href=\"https://docs.flycart.org/en/articles/4164153-buy-product-a-b-and-get-discount-in-product-c\"\u003eLearn how to offer discounts for Product C when both Product A and B are added to the cart.\u003c/a\u003e","items":[{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/3806593-cart-adjustment\"\u003eLearn how to have Cart Adjustment based discounts\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/3807208-bulk-discounts-or-tiered-pricing\"\u003eLearn how to have Bulk discounts\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/3809899-bundle-set-discount-discount-rules-2-0\"\u003eLearn how to have Bundle Set Discount\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/3834240-conditions-rules\"\u003eLearn how to add Conditions and Rules for additional conditions\u003c/a\u003e","class":"no-margin"}]},{"content":[{"type":"paragraph","text":"\u003ca href=\"https://docs.flycart.org/en/articles/4164153-buy-product-a-b-and-get-discount-in-product-c\"\u003eLearn how to offer discounts for Product C when both Product A and B are added to the cart.\u003c/a\u003e","class":"no-margin"}]}]},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"paragraph","text":"\u003cb\u003eRefer this video to know more about Products based discounts:\u003c/b\u003e","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"type":"video","provider":"youtube","id":"sLqLTr4OK5Y"},{"type":"paragraph","text":"Still unclear?","class":"no-margin"},{"type":"paragraph","text":" ","class":"no-margin"},{"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":"2828016","description":"Learn how to create “Buy a product and get another product free” in your WooCommerce store with Discount Rules for WooCommerce.","id":"3291936","lastUpdated":"Updated over 8 months ago","relatedArticles":[{"title":"Buy One Get One Free (Buy X Get X)","url":"https://docs.flycart.org/en/articles/3810071-buy-one-get-one-free-buy-x-get-x"},{"title":"Buy X Get Y","url":"https://docs.flycart.org/en/articles/3810570-buy-x-get-y"},{"title":"Buy any item from Category A and get Discount on Category B","url":"https://docs.flycart.org/en/articles/3946511-buy-any-item-from-category-a-and-get-discount-on-category-b"},{"title":"Buy Product A + B and Get discount in Product C","url":"https://docs.flycart.org/en/articles/4164153-buy-product-a-b-and-get-discount-in-product-c"},{"title":"Buy Product A+B+C and get different discounts","url":"https://docs.flycart.org/en/articles/4217810-buy-product-a-b-c-and-get-different-discounts"}],"targetUserType":"everyone","title":"Buy X and Get Y Product for free (or at 50% discount)","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/2828016-buy-one-get-one-scenarios","name":"Buy One get One Scenarios"}],"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":"65aea1f3a878bfad02a6fd9ee6bbd098-93ee26f38dbee18d-0","_sentryBaggage":"sentry-environment=production,sentry-release=aPweG0a0_1x27RPUgNwh8,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=65aea1f3a878bfad02a6fd9ee6bbd098,sentry-sampled=false"},"__N_SSP":true},"page":"/[helpCenterIdentifier]/[locale]/articles/[articleSlug]","query":{"helpCenterIdentifier":"flycartdocs","locale":"en","articleSlug":"3953967-buy-x-and-get-y-product-for-free-or-at-50-discount"},"buildId":"aPweG0a0_1x27RPUgNwh8","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