Buy X Get Y(Buy One Get One) – Automatic

Rules has to be configured if you want to allow your users to manually select their Buy X Get Y(Buy One Get One) Free Gift(s).

To create rules, go to WooCommerce > Free Gifts > Rules

  • To create a new rule, click the Add New Rule button.
  • Manage the status of the rule in Rule Status option. Select Active to enable the rule or select In-active to disable the rule. When set to Active, the products from this rule will be listed to the user. The user can choose their Free Gift from the available products.
  • Give a name for the rule in Rule Name field. This field is mandatory.
  • If you want to give a description for the rule, then give it in the Description field.
  • In the Free Gift Type option select “Buy X Get Y – Automatic“.
  • Use the Apply this Rule Along with Other Matching Rules option to Enable or Disable applying this rule together with other matching rules.
  • Click the Add Rule button to save a new rule. When editing an existing rule, click the Update Rule button.
  • Make sure the products you select as free gifts have been published and are currently In-stock.

General

↑ Back to top
  • If you want to offer the same product as the gift product, then in Gift Product Type, choose Same Product. If you want to offer a different product as a gift product, then in Gift Product Type, choose Different Products.
  • In the Buy Product(s) Configuration section, choose the Buy Product Type. Select Product if the user receives a free gift when they purchase the selected product. Select Category if the user receives a free gift when they purchase any one product from the selected category.
  • In the Buy Product condition applicable when option, choose when the buy condition is satisfied:
    • For products: Any one of the selected Product(s) must be in the cart or All the selected Product(s) must be in the cart.
    • For categories: Any one of the product(s) from the selected category must be in the cart or One Product from each selected category must be in the cart.
  • In the Buy Quantity Calculation Based on option, choose how the buy quantity is calculated:
    • For products: Same Product’s Quantity (each product’s quantity must match), Total Quantity of the Selected Products (either each product’s quantity or the combined quantity of the selected products must match), or Product with least quantity from the selected products.
    • For categories: Same Product’s Quantity, Total Quantity of the Selected Category’s Products, or Product with least quantity from the selected category.
  • In Buy Quantity option, select the number of quantities the user has to purchase in order to be eligible to receive a free gift.
  • In the Get Product(s) Configuration section, choose the Gift Product Selection Type: Selected Product(s) or Products from Selected Categories.
  • In the Get Product(s) option, select the product which the user will receive when they purchase the specified product. When the selection type is Products from Selected Categories, select the categories in the Get Category option.
  • Since the gifts are added automatically, you can decide which gift is added using these options:
    • Product Consideration for Auto-Add – Determines which product from the selected categories or brands will be considered for awarding as a gift. The choices are Add First Product, Add Random Product, Add Cheapest Product, Add Most Expensive Product, Add Highest Stock Product and Add Lowest Stock Product.
    • Number of Products to Award – Specifies the number of products to be considered for awarding as free gifts from the selected categories or brands. Gifts will be awarded only while eligible products are available.
    • Variation Consideration for Auto-Add – Determines which variation from the selected variable product will be considered for awarding as a gift, since a variable product cannot be gifted directly. The choices are Add First Variation, Add Random Variation, Add Cheapest Variation, Add Most Expensive Variation, Add Highest Stock Variation and Add Lowest Stock Variation.
    • Price Consideration to Pick the Auto-Added Gift – Choose which price decides the most expensive or cheapest product to auto-add: Price, Regular Price or Sale Price. It applies to the Cheapest and the Most Expensive options of both the Product Consideration and the Variation Consideration for Auto-Add.
  • In the Quantity Configuration section, the Get Product Quantity Restriction is Applicable option decides how the Get Quantity is applied: On All the Eligible Products Separately (the restriction is applicable separately for each product selected in Get Products) or Across the Eligible Products (the restriction is applicable on the total quantity of Get Products added in the cart).
  • In the Get Product Awarding method option, choose Display all the selected products to show all the selected products for the customer’s selection, or Display only the same product to show only the same bought product(s).
  • In Get Quantity option, set the number of quantities, the user will receive for free.
  • In the Gift Awarding Method section, use Offer the Gift As to choose whether customers get the gift product Completely Free or At a Discounted Price. When At a Discounted Price is chosen, select the Discount Method (Percentage or Fixed Amount) and enter the Discount Value. The percentage cannot be more than 100, and the gift is awarded for free when the discount is equal to or greater than the gift product price.
  • By default, your customer will receive the free gifts only once in Buy X Get Y type for a single purchase. If you want your customers to receive free gifts for every time they meet the Buy requirement, enable the Repeat Gift checkbox.
    • Use Repeat Gift Mode to choose Unlimited (no restriction on receiving free gifts) or Limited (free gifts can be received until the Repeat Limit is reached).

Example

If you set Buy 1 Get 1, with Repeat Gift turned off, your customers will get only 1 quantity free for their purchase even if they add 10 quantities to their cart. If the Repeat Gift is turned on, your customer will receive one quantity free for every quantity they add to their cart. i.e If they add 10, they will receive 10 free in that purchase.

  • Apply this Rule Along with Other Matching Rules – choose Enable or Disable to decide whether this rule is applied along with other matching rules.

Restrictions

↑ Back to top
  • In the Order Restrictions section, Maximum Gifts in an Order from this Rule sets the maximum number of gifts from this rule. If left empty, or when the rule value is more than the Global Restriction, the Global Restriction will apply.
  • If you want to restrict the rule to be applied only for a certain number of orders, then set the order count in Maximum Number of Orders option. If left empty, the rule will be applicable for unlimited orders. You can use Reset used count to reset the number of orders used.
  • If you wish to place a restriction on free gifts based on individual users, select Enable – For Registered Users Only in the Order Restriction per User option.
  • In the Number of Order(s) per User, input the number of orders for which a user is eligible to receive free gifts.
  • If you wish to offer gifts to users who don’t have a previous purchase history, you can do so by selecting No Purchase History Available in the Award Gift based on User’s Purchase History option.
  • If you wish to offer gifts to users who have a previous purchase history, you can do so by selecting Specific Number of Orders in the Award Gift based on User’s Purchase History option. You can set the Min and Max values in Previously Purchased Order Count.
  • If you want to apply the rule for a specific duration, then in the Validity Restrictions section, select the From and To date in the Rule Validity option. If no date is selected, it refers to unlimited validity.
  • If you want to apply the rule to specific days of the week, then in the Week Day(s) Restrictions option, select the days of the week on which the rule should be valid. If left empty, the rule will be valid for all days of the week.
  • In the Coupon Restrictions section, choose the WooCommerce Coupon Usage Based Gift Restriction Type as Global Level or Rule Level. If Rule Level is chosen, set Restrict Free Gift if WooCommerce Coupon is Used in the Order to Yes or No.

Criteria

↑ Back to top
  • Select AND in Criteria Type option if you want the user to satisfy all the available criteria to receive free gifts. Choose OR if you want to give free gifts to the user if they satisfy at least one of the available criteria.
  • If you wish to calculate the criteria based on the cart subtotal, then in the Criteria Calculated Based on option, set the value as Cart Subtotal. Give the minimum and maximum values in the Min and Max fields.
  • If you wish to calculate the criteria based on order total, then in the Criteria Calculated Based on option, set the value as Order Total and give the minimum and maximum values in the respective fields.
  • If you wish to calculate the criteria based on category total, then in the Criteria Calculated Based on option, set the value as Category Total and select the category in Select a Category. You can also optionally include sub-categories using the Including Sub-category Product(s) option (Yes or No).
  • If you wish to calculate Category Total after applying the coupon discount, you can do so by enabling the Calculate Category Total Criteria after WC Coupon Discount is applied option.
  • If you wish to calculate criteria based on cart quantity, then give the minimum and maximum cart quantities in the respective fields of the Cart Quantity option.
  • If you wish to calculate criteria based on the number of products in the cart, then give the minimum and maximum values in the respective fields of the Number of Products in the Cart option.

Filters

↑ Back to top
  • By default, the rule is applicable for all users. If you want to restrict/apply the rule only for specific user/user roles, then using User Filter option it is possible. If you want to apply this rule only for specific users, then select Include User(s) option and select the users in Select User(s) option. If you want to exclude this rule to be applied for specific users, then select Exclude User(s) option and select the users in Select User(s) option. If you want to apply this rule only for specific user roles, then select Include User Role(s) option and select the user roles in Select User Role(s) option. If you want to exclude this rule to be applied for specific user roles, then select Exclude User Role(s) option and select the user roles in Select User Role(s) option.
  • By default, the rule will be applied when any product is in cart (All Product(s)). If you want to restrict/apply the rule only for specific products/categories, then using Product Filter option it is possible. If you want to apply this rule only when specific products are in cart, then select Include Product(s) option and select the products in Select Product(s) option. If you want to not apply this rule when specific products are in the cart, then select Exclude Product(s) option and select the products in Select Product(s) option. If you want to apply this rule only when products are assigned to any category, then select All Categories so that the rule will not be applied for uncategorized products. If you want to apply this rule only for products under specific categories, then select Include Categories option and select the categories in Select Categories option. If you want to not apply this rule when any one product is under a specific category, then select Exclude Categories option and select the categories in Select Categories option.

You can further place the restrictions on Include Product(s) and Include Categories using the Applicable when option.

Product Restrictions

  • Any one of the selected Product(s) must be in cart – The user’s cart should contain at least one product from the selected products to receive the Free Gift(s).
  • All the selected Product(s) must be in cart – The user’s cart should contain all the selected products to receive the Free Gift(s).
  • Only the selected Product(s) must be in cart – The user’s cart should contain only the selected products to receive the Free Gift(s).
  • User purchases the Specified Number of Products – The user’s cart should contain the minimum specified number of products in order to be eligible to receive the Free Gift(s). In the Product Count option, set the number of products which the user must purchase in order to be eligible to receive Free Gift(s). The Product Count cannot be more than the number of selected products.

Category Restrictions

  • Any one of the product(s) should be from the selected category – The user’s cart should contain at least one product from the selected category to receive the Free Gift(s).
  • One product from each category must be in cart – The user’s cart should contain at least one product from each category to receive the Free Gift(s).
  • Only products from the selected category should be in cart – The user’s cart should contain at least one product from each category, and the cart cannot contain products which don’t belong to the selected category, to receive the Free Gift(s).
  • Total Quantity of the Product(s) from the selected categories – The user’s cart must contain the quantity set in the Minimum Quantity option, which is the sum of the quantities of the products that belong to the selected categories.

Notice

↑ Back to top
  • If you want to display a notice in the user’s cart and checkout page stating that they can receive free gift(s) if they satisfy a particular criterion, you can do so by setting the Display Free Gift Eligibility Notice in Cart for this Rule option to Show (the other choice is Hide). Enter the notice text in Free Gifts Eligibility Notice.
  • You can choose an icon for the notice using Image/Icon for Eligibility Notice (Select a Image / Delete Image).
  • Set Display Progress Bar in Eligibility Notice to Show to display a progress bar below the notice, indicating how close the cart is to reaching the next tier of the rule.
  • To display notices for Buy X Get Y on the Single Product page and Product Archive pages, set Display Eligible Notices for Buy X Get Y to Show and enter the text in Eligibility Notice – Content. Make sure Buy X Get Y Eligible Notice – Single Product Page and Buy X Get Y Eligible Notice – Product Archive Pages[Like Category, Shop] are enabled under WooCommerce > Free Gifts > Settings > Display.
  • You can frame the notice using the available shortcodes, such as the ones that display the BOGO gift(s), the BOGO buy product quantity, the BOGO gift product quantity, the cart subtotal, the cart order total, the cart category subtotal and the cart quantity.
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.