1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions

Buy One Get One Free

The Buy One Get One Free plugin allows create offers of the type: if the customer adds to cart a specific quantity of a product, then give away one or more items of the same or another product.

Note: This extension is only compatible with WooCommerce 3.4 and higher.

Installation ↑ Back to top

  1. Download the .zip file from your WooCommerce account.
  2. Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
  3. Install Now and Activate the extension.
  4. Go to WooCommerce > Extensions.
  5. Select the WooCommerce.com Subscriptions tab, and activate the subscription on your site to receive updates.

More information at: Install and Activate Plugins/Extensions.

Settings ↑ Back to top

You can find the options of the BOGO plugin at WooCommerce > Settings > Products > Buy One Get One Free.

Settings of Buy One Get One Free for Woocommerce

Choose your gift layout ↑ Back to top

Options that control where to show the eligible free products.

Display eligible free gift(s) on

  • After the cart (default) – Display the eligible free products after the cart in the cart page.
  • A page that contains the [wc_choose_your_gift] shortcode – Select this option if you want to display the eligible free products using the [wc_choose_your_gift] shortcode.

Title
Available for “Display eligible gifts after the cart.” The title of the “choose your gift” layout.

Choose your gift page
Available for “Display eligible gifts on a page that contains the [wc_choose_your_gift] shortcode. Select the page where you added the shortcode.

Choose your gift notice ↑ Back to top

Choose your gift notice
Message to show customer when there are eligible free products. You can use the placeholder [qty] for display the number of free items.

Choose your gift button text
The text of the link to the “Choose your gift page.”

Coupons ↑ Back to top

Options that control how coupons work in conjunction with the BOGO rules.

Disable coupons
Check this box if you want to disable the usage of coupons is there is a free BOGO item in the cart.

Adding and Managing BOGO rule ↑ Back to top

To add a BOGO rule:

  1. Go to WooCommerce > Buy One Get One.
    Add new first BOGO rule
  2. Create a new BOGO rule by selecting Add BOGO rule. Or hover over an existing one to Edit.
    BOGO rules list table
  3. Enter the BOGO rule name. You can use, for example, the name of the promotion.

Under Rule data, there are three sections you can use to add the properties of the rule: General, Limits, and Usage Restriction.

General ↑ Back to top

The General section is where the majority of important data is added for your rule.

  • Enabled/Disable – Check the box to enable the rule.
  • Deal mode – The type of BOGO offer. You can choose between:
    • Buy products and get a different product(s) for free.
    • Buy 2 (or more) products and get the cheapest one for free.
    • Buy a product and get the same product for free.

Add a “Buy products and get a different product(s) for free” rule

The mode “Buy products and get a different product(s) for free” allows you to create a offer of the type: Buy two shirts and get a free accessory, or buy a product A and select a product the of the category C for free, or when the sum of the product quantities A plus B is greater than 2, add a free C product.

Select “Buy products and get a different product(s) for free” from the deal mode dropdown.

  • Applies To –You can choose to apply the rule to Specific product(s) or Product category(s).
  • Products / Categories – The products or categories to which the rule will apply apply.
  • Buy quantity  – The number of items that the user has to add to the cart to get the free product.
  • Individual – Available if you select “Applies to” “Product category(s)”. Check this box to apply the rule individually to each product of the category instead of to the total of products of the category.
  • Action – The action that is activated when the rule is met.
    • Add a free product to the cart. Automatically add a free product to the cart when the rule meets. Select the free product in following the input box.
    • Allow customers to choose the gift(s) from a product category(s). If you want that the customer can select the free product from a product category. Select the categories in following the input box.
    • Allow customers to choose the gift(s) from a lists of products. If you want that the customer can select the free product from a list of products, input the products in the following input box.
  • Get free quantity: The free items the user will get when buy multiples of “Buy quantity.”

Add a “Buy 2 (or more) products and get the cheapest one for free” rule

The mode “Buy 2 (or more) products and get the cheapest one for free” allows you to create an offer of the type: Add three products of the same category and get one unit of the cheapest item free.

Select “Buy 2 (or more) products and get the cheapest one for free” from the deal mode dropdown. This removes unnecessary fields.

  • Applies To – You can choose to apply the rule to Specific product(s) or Product category(s).
  • Products / Categories – The products or categories to which the rule will apply apply.
  • Buy quantity – The number of items that the user has to add to the cart to get the discount
  • Get free quantity – The free items the user will get when buy multiples of “Buy quantity.” It must be less than the Buy quantity.

Add a “Buy a product and get the same product for free” rule

The mode  “Buy a product and get the same product for free” allows you to create a offer of the type: Buy two shirts and get another shirt for free. The free item is added to cart automatically.

Select “Buy a product and get the same product for free” from the deal mode dropdown. This removes unnecessary fields.

  • Applies To – You can choose to apply the rule to Specific product(s) or Product category(s).
  • Products / Categories – The products or categories to which the rule will apply apply.
  • Buy quantity – The number of items that the user has to add to the cart to get the free product.
  • Get free quantity – The free items the user will get when buy multiples of “Buy quantity.”

Limits ↑ Back to top

Limits section of the BOGO rule
  • Free items limit – The maximum number of free items the user can get when buy multiples of “Buy quantity”. Leave blank for unlimited free items.
  • Usage limit per user – How many times this rule can be used by an individual user. Leave blank for unlimited.

Usage restriction ↑ Back to top

  • Minimum spend – This allows you to set the minimum subtotal needed to use the rule. Note: The sum of the cart subtotal + tax – coupon discount is used to determine the minimum amount.
  • Coupons – Coupons that enable the rule. The customer does not get the free item until he adds one of the coupons from the list.
  • Exclude products – Products that the rule will not be applied to.
  • Available for – Select if the rule is available for all users or only for specific user roles (group of users). If you select “specific user roles,” you have to add the user roles in the following field.
  • Start date and End date – You can schedule the rule to be enabled between two dates.

Advanced ↑ Back to top

  • Ignore other rules – If this option is enabled, when the rule meets, the plugin discards the other rules (even if the other rules also meet). This option allows you to prioritize a rule over the other.
  • No coupon validations – This option allows you to exclude the free items added by the BOGO rules to the cart from the coupon restrictions validations. This option is enabled by default. Learn more about the coupon restrictions.

Choose your gift shortcode ↑ Back to top

The [wc_choose_your_gift] shortcode shows the eligible free items the customer can add to the cart based on the BOGO rules that meet. The shortcode supports the following attributes:

  • columns – The number of columns to display. Defaults to 4
  • limit – The number of products to display per page. Defaults to -1 (display all)
  • title – A title to display before the products.
  • no_results – true or false. If true, display a message when there is no eligible free items. Default true.

Example:

[wc_choose_your_gift columns="3" limit="6"]

Usage ↑ Back to top

Buy One Get One Free does not add information about the active promotions to the Products, Cart and Checkout pages. That is something that has to be done manually.

When the free product is added to the cart, the customer will be informed by a notice.

WooCommerce - One free item added to cart message

When the customer has eligible free items, he will be informed by a notice. By clicking on the “Choose your gift”, the customer will be redirected to the “choose your gift” layout, where he can add the free product to the cart.

Choose your gift from BOGO offer

In the Cart and Checkout pages, the customer will see the free product.

WooCommerce - BOGO free item in the cart

For the rules of the type “get the cheapest item free,” the customer will see the number of free items in the item subtotal of the cart.

WooCommerce - Get the cheapest item free

Examples ↑ Back to top

In the following examples, we’ll use an example clothing store.

Example 1 – Buy two products from the category hoodies and choose an accessory for free. ↑ Back to top

BOGO offer - example 1
  • Deal mode: Buy products and get a different product(s) for free.
  • Applies To: Product category(s).
  • Categories: Hoodies
  • Buy quantity: 2
  • Action: Allow customers to choose the gift(s) from a product category(s)
  • From product categories: Accessories
  • Get free quantity: 1

Example 2 – Buy two products from the category T-shirts and choose a Belt or a Beanie for free if the customer applies a coupon. ↑ Back to top

You have to a coupon first. Go to Marketing > Coupons and add a new coupon.
If you don’t want the customer to get a discount when they add the coupon, select “Fixed cart discount” in the discount type and set the coupon amount to zero.

After creating the coupon, Go to WooCommerce > Buy One Get One to configure the BOGO promotion:

BOGO offer - example 2.1
  • Deal mode: Buy products and get a different product(s) for free.
  • Applies To: Product category(s).
  • Categories:  T-shirts
  • Buy quantity: 2
  • Action: Allow customers to choose the gift(s) from a lists of products
  • From products: Belt and Beanie
  • Get free quantity: 1
  • Go to the Usage restriction section and set the coupon.
    BOGO offer - example 2.2

Example 3 – Buy three products from the category hoodies and get the cheapest one free ↑ Back to top

WooCommerce - Buy 2 (or more) products and get the cheapest one for free
  • Deal mode: Buy products and get a different product(s) for free.
  • Applies To: Product category(s).
  • Categories: Hoodies
  • Buy quantity: 2
  • Get free quantity: 1

Example 4 – Add automatically to the cart one Beanie and one Belt if the customer buys a Hoodie with zipper ↑ Back to top

Each BOGO rule only allows one free product for the action “Add to the cart”, so you need to configure two BOGO rules for the “Hoodie with zipper” product, one to add to the cart 1 Beanie and another to add to the cart 1 Belt.

Rule 1:

BOGO offer - example 3.1
  • Deal mode: Buy products and get a different product(s) for free.
  • Applies To: Specific product(s).
  • Product: Hoodie with zipper
  • Buy quantity: 1
  • Action: Add a free product to the cart
  • Free product: Beanie
  • Get free quantity: 1

Rule 2, the same properties of the rule 1 but you have to change the free product:

BOGO offer - example 3.2
  • Action: Add a free product to the cart
  • Free product: Belt
  • Get free quantity: 1

Example 5 – Buy a variation of a variable product and choose a variation for free of the same product ↑ Back to top

BOGO offer - example 4
  • Deal mode: Buy products and get a different product(s) for free.
  • Applies To: Specific product(s).
  • Product: The variable product (the parent product)
  • Buy quantity: 1
  • Action: Allow customers to choose the gift(s) from a lists of products
  • From products: The variable product (the parent product)
  • Get free quantity: 1

Incompatible product types ↑ Back to top

The following types of products can not be set as free products:

But you can include these product types as a “buy product” in your BOGO rules.

FAQs ↑ Back to top

Can I give a gift if someone buys a certain number of items? For example, buy 3 items and get one free? ↑ Back to top

Yes, you can configure this type of promotions.

Can I specify the number of items that can be given? ↑ Back to top

Yes.

Are product variations supported? ↑ Back to top

Yes.

Is it possible to allow customers to select their desired variation of a free product? ↑ Back to top

Yes. Please review the example 5.

Is it possible to allow customers to choose the free product from a category or from a list of products? ↑ Back to top

Yes. Please review the example 1.

Can I set up a discount price instead of free? ↑ Back to top

No. It’s not possible to set a discount in the BOGO rule. The discount is always 100%.

I have another question ↑ Back to top

Please fill out this pre-sales form.

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment