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 – Manual“.
- 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- In Gift Product Type, choose Same Product if the user should receive the bought product for free, or Different Products if the user should receive another product for free.
- Under Buy Product(s) Configuration, if you are planning to create the rule for a single Buy Product, then in the Buy Product Type select Product. If you are planning to create the rule for a specific category, then in the Buy Product Type select Category.
- Product: The user will receive a Free Gift if they purchase the selected product.
- Category: The user will receive a Free Gift if they purchase any one product from the selected category.
- In Buy Product option, select the product which the user has to purchase. If you selected Category as the Buy Product Type, select the category in the Buy Category option.
- In Buy Product condition applicable when, choose when the Buy requirement is met.
- 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 Buy Quantity Calculation Based on, choose how the Buy Quantity is counted.
- 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 (each product’s quantity within the category must match), Total Quantity of the Selected Category’s Products (either each product’s quantity or the quantity of products within the selected category must match), or Product with least quantity from the selected category.
- Under Get Product(s) Configuration, if you are planning to create the rule for a single Get Product, then in the Gift Product Selection Type select Selected Product(s). If you are planning to create the rule for a specific category, then in the Gift Product Selection Type select Products from Selected Categories.
- In the Get Product(s) option, select the product(s) the user will receive for free. If you selected Products from Selected Categories, select the category in the Get Category option.
- Under Quantity Configuration, by Default, the Quantity Restriction is applied on all products separately. If you wish to apply the restriction across all eligible products, select “Across the Eligible Products” in the “Get Product Quantity Restriction is Applicable” option.
- On All the Eligible Products Separately: The restriction is applicable separately for each product selected in Get Products.
- Across the Eligible Products: The restriction is applicable on the Total Quantity of Get Products added in the cart.
- In Get Product Awarding method, choose which products are displayed for the customer’s selection.
- Display all the selected products: All the selected products will be displayed for the customer’s selection.
- Display only the same product: Only the same bought product(s) will be displayed for the customer’s selection.
- In Buy Quantity option, set the number of quantities, the user will have to purchase to receive the free gift.
- In Get Quantity option, set the number of quantities, the user will receive for free.
- Under Gift Awarding Method, in Offer the Gift As, choose whether customers get the gift product Completely Free or At a Discounted Price.
- If you choose At a Discounted Price, select the Discount Method as Percentage or Fixed Amount.
- In Discount Value, enter the percentage or the fixed amount to be discounted from the gift product price. The percentage cannot be more than 100. The gift is awarded for free when the discount is equal to or greater than the gift product price.
- Under Gift Repeating Configuration, 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.
- In Repeat Gift Mode, select Unlimited for no restriction on receiving Free Gifts, or Limited to allow Free Gifts only until the Repeat Limit is reached.
- If you select Limited, set the number of times in the Repeat Limit option.
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. ie If they add 10, they will receive 10 free in that purchase.
Restrictions
↑ Back to top- In the Order Restrictions section, set the Maximum Gifts in an Order from this Rule option to limit the number of gifts a customer can receive from this rule in a single order. If left empty, or if 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 the Maximum Number of Orders option in the Order Restrictions section. The gift products will be restricted once the value given in this field has been reached. If left empty, the rule will be applicable for unlimited orders. The number of orders used and remaining is shown next to the field, and you can click Reset used count to reset the used count.
- 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 User Restrictions section. The available choices are Disable and Enable – For Registered Users Only.
- In the Number of Order(s) per User, input the number of orders for which each registered user is eligible to receive free gifts from this rule.
- 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. In the Previously Purchased Order Count option, you can set the Min and Max 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, the rule is valid without any date limit.
- 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 (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday). If left empty, the rule will be valid for all days of the week.
- In the Coupon Restrictions section, use the WooCommerce Coupon Usage Based Gift Restriction Type option to choose whether the coupon restriction is applied at the Global Level or the Rule Level.
- If you choose Rule Level, set the Restrict Free Gift if WooCommerce Coupon is Used in the Order option to Yes or No. When set to Yes, the user will not be eligible for a free gift from this rule if they have used a WooCommerce coupon in the order.
Criteria
↑ Back to top- Select AND in the Criteria Type option if the user must satisfy all the available criteria to receive free gifts. Choose OR if the user must satisfy at least one of the available criteria to receive free gifts.
- 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 respective Min and Max fields. Cart Subtotal is the sum of all product prices and taxes, if applicable.
- 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 Min and Max fields. Order Total is the sum of all product prices, shipping and taxes.
- 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 for which the rule has to be applied using the Select a Category option. Category Total is the sum of all product prices plus applicable taxes that belong to the selected category. Give the minimum and maximum values in the respective Min and Max fields. You can also optionally include sub-categories by setting Including Sub-category Product(s) to Yes (the default choice is 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. When enabled and if a WC coupon is applied, the discount amount will be considered for the calculation of the Category Total criteria.
- 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. The user’s cart quantity (sum of all product quantities) should be within the specified range.
- If you wish to calculate criteria based on the number of products in the cart, then give the minimum and maximum cart quantities in the respective fields of the Number of Products in the Cart option. The total number of products added in the user’s cart should be within the specified range.
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 to 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 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.
- Using the Applicable when option, you can further place the restrictions on Include Product(s) and Include Categories. This option provides additional control on when to award the Free Gifts.
- The Coupon Filter option lets you apply the rule based on the coupons applied in the cart. Select Include Coupon(s) to make the user eligible for free products from this rule when they apply any of the coupons selected in Select Coupon(s), or select Exclude Coupon(s) to exclude the rule when those coupons are applied. The default is Select an Option. Note that this setting works only when the WooCommerce Coupon Usage Based Gift Restriction Type option is disabled.
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 empty and 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, also 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 minimum quantity set in the Minimum Quantity option, which is the sum of the quantities of the products that belong to the selected categories. The Minimum Quantity field cannot be empty.
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“. When set to “Show“, the notice is displayed to the user in the cart and checkout pages if they are not eligible for receiving free gifts from this rule. The available choices are “Hide” and “Show“.
- You can frame the notice using the available shortcodes. You can use the shortcodes in the “Free Gifts Eligibility Notice” field.
- You can add an image or icon to the notice using the “Image/Icon for Eligibility Notice” option. Click “Select a Image” to choose an image and “Delete Image” to remove it.
- If you want a progress bar to appear below the eligibility notice, set the “Display Progress Bar in Eligibility Notice” option to “Show“. The progress bar indicates how close the cart is to reaching the next tier of the rule.
- Under “Eligibility Notice Configuration – Buy X Get Y“, you can display a notice on the single product page and the product archive pages (like Category and Shop) by setting the “Display Eligible Notices for Buy X Get Y” option to “Show“. The notice is displayed to users if they are not eligible to receive free gifts from this rule.
- Use the “Eligibility Notice – Content” option to frame the Buy X Get Y notice. You can use the shortcodes available under “Shortcodes” on BOGO eligible notices.
- Note: Please make sure that the Buy X Get Y Eligible Notice – Single Product Page and Buy X Get Y Eligible Notice – Product Archive Pages[Like Category, Shop] options are enabled under WooCommerce > Free Gifts > Settings > Display.