1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Discount Rules
  5. Buy X Get X rules (BOGO)
  1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Buy X Get X rules (BOGO)

Buy X Get X rules (BOGO)

With the ‘Buy X Get X’ rule, you can create buy one get one free style offers. The user must buy a certain number of specific products in order to receive additional products free or discounted. For example, ‘Buy two hoodies and get one half price’.

There’s a complete tutorial on how to create a BOGO offer in WooCommerce here.

Configuring the rule

To create a ‘Buy X Get X’ pricing rule, go to WooCommerce > Fees and Discounts and click ‘Add New’.

Rules Settings

In ‘Rule Settings’ select ‘Buy X Get X’’.

Buy X Get X rule

Label

You can add an optional label that will display on the product and cart pages.

Schedule

You can set a status for the rule – either Active, Paused or Scheduled

  • Active – to activate the rule on the front end
  • Paused – to stop the rule on the front end (but keep your settings, ready to be re-activated at a later date)
  • Scheduled – to start and stop the rule at times you specify.

Times and dates

Scheduled rule

If you have selected ‘Scheduled’ as the status, you’ll see start and end dates and times. Just enter the time and date that you would like the discount rule to go live on your site. You can enter an end date and time as well – or leave these blank for the rule to run indefinitely.

Applies To

Applies to and count by settings

Use this setting to determine which products the offer will apply to. Choose from:

  • All items – all items in the store will be eligible for the offer
  • Specific categories – this will open a new field where you can select which categories are eligible for the offer
  • Specific products – this will open a new field where you can select which products are eligible for the offer

Count by

If you’ve chosen specific categories or products in the ‘Applies to’ setting, the ‘Count by’ option will be available.

  • All – choose this if you want to combine all eligible items when assessing whether the rule is active
  • Product – choose this if you want to count each line item separately

Buy and Get Settings

Here you can specify how many items the user needs to buy and how many items they’ll receive free/discounted.

Buy and get settings

Buy

Enter how many items the user needs to add to their cart in order to qualify for the discount.

Get

Define how many products the user will receive free/discounted.

Max

Enter the maximum number of free/discounted items the user can receive.

Amount Settings

Here you can define the type and value of the discount.

Discount amount settings

Adjustment type

The ‘Adjustment type’ setting defines the type of adjustment. Choose from:

  • Fixed discount
  • Percentage discount
  • Fixed fee
  • Percentage fee

Amount

Once you’ve chosen your adjustment type, enter the value of the adjustment here. Depending on whether you have chosen a fixed or percentage adjustment, the ‘Amount’ setting will either be a price value or a percentage.

To offer free products, just set the adjustment to ‘Percentage Discount’ and enter ‘100’ as the ‘Amount’.

Fixed adjustments per product

WooCommerce discount adjustment settings

If you are using either ‘Fixed fee’ or ‘Fixed discount’ then the amount will be adjusted based on the total, not per item.

If you want to apply your fixed adjustment per item, e.g. $1 per item in the cart, choose ‘Per product’ in the ‘Fixed adjustment type’ field.

Get Categories Settings

If you chose ‘Specific categories’ in ‘Applies to’, you can select which categories will be eligible for the offer.

Buy Categories seting

Get Products Settings

If you chose ‘Specific products’ in ‘Applies to’, you can select which products will be eligible for the offer.

Get Products Settings

Role settings

If you’d like to apply the rules to a specific role, then you can define the roles here.

Was this article helpful?

Related Articles

  • Buy X for Y Amount rules
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document
  • Order Total rules
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document
  • Buy X Get Y rules
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document
  • Spend X and Get Y rules
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document
  • Tiered pricing rules
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document
  • Dynamic pricing settings
    • Plugin: WooCommerce Dynamic Pricing and Discount Rules
    • Content Type: Support Document