Rules has to be configured if you want to automatically add Bulk Quantity Based Free Gift to your user’s cart.
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 “Bulk Quantity Based Free Gift – 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 topBulk Quantity Configuration
- In the Rule Consider Type option, choose how the rules created under Bulk Quantity Rules are considered:
- First Matched Rule – Only the first rule that matches is considered for awarding the gift(s).
- All Valid Rule – All the rules that match are considered for awarding the gift(s).
Automatic Gift Settings
The following options decide which gift product is added to the cart automatically. The configuration specified here is applied to all rules created under the Bulk Quantity Rules.
- Product Consideration for Auto-Add – Determines which product from the selected Categories or Brands will be considered for awarding as a gift. The available 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 available 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. The available choices are Price, Regular Price and Sale Price. This applies to the Cheapest and the Most Expensive options of both the Product Consideration for Auto-Add and the Variation Consideration for Auto-Add.
Bulk Quantity Rules
Click the Add Rule button to add a new rule. You can add as many rules as you need. For each rule, set the following options:
- Quantity Range – Enter the minimum quantity in the From field and the maximum quantity in the To field. The rule applies when the quantity is within this range.
- Gift Quantity – In the Get field, enter the quantity of the gift(s) that the user will receive.
- Gift Type – Choose how the Gift Product(s) are selected:
- Selected Product(s) – Select the specific products in the Gift Product(s) field. Use the Search a Product field to find the products.
- Products from Selected Categories – Select the categories in the Categories field.
- Offer the Gift As – Choose how the gift is offered to the user:
- Completely Free – The gift is given free of charge.
- At a Discounted Price – The gift is given at a discount. Choose the discount type (Percentage or Fixed Amount) and enter the value in the Discount field.
- To delete a rule, click the Remove Rule button.
- Please make sure the products you select as free gifts have been published and are currently In-stock.
Viewing a Rule’s Bulk Quantity Rules
A popup titled View Bulk Quantity Rules – #Rule ID lists the Bulk Quantity Rules of a rule. It shows the following details:
- Quantity – The Minimum and Maximum quantity of the rule.
- Gifts – The Gift Product(s), Categories or Brands that are offered as gifts.
- Reward – How the gift is offered, either completely free or at a discount.
Other Matching Rules
- If you want this rule to be applied along with other matching rules, set the Apply this Rule Along with Other Matching Rules option to Enable. Select Disable if you do not want that.
Restrictions
↑ Back to top- If you want to apply the rule for a specific duration, then in the Validity Restrictions section, select the From and To dates 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 is valid on all days of the week.
- 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. If left empty, the rule is applicable for unlimited orders. The number of orders used and remaining is displayed next to this option, and you can click Reset used count to reset it.
- In the Maximum Gifts in an Order from this Rule option, you can limit the number of gifts from this rule in an order. If left empty, or if the rule value is more than the Global Restriction, the Global Restriction applies.
- 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. Select Disable to turn off this restriction.
- In the “Number of Order(s) per User” option, input the number of orders for which a 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. You can set the Min and Max values in the Previously Purchased Order Count option.
- In the Coupon Restrictions section, use the WooCommerce Coupon Usage Based Gift Restriction Type option to choose Global Level or Rule Level. If you choose Rule Level, you can set the Restrict Free Gift if WooCommerce Coupon is Used in the Order option to Yes or No for this rule only.
Criteria
↑ Back to top- Select AND in the Criteria Type option if you want to give free gifts to the user only if they satisfy all the available criteria. 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 Min and Max 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 for which the rule has to be applied in the Select a Category option. You can also optionally include sub-category products by setting Including Sub-category Product(s) to Yes.
- 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.
Filters
↑ Back to top- By default, the rule is applicable for all users. If you want to restrict/apply the rule only for specific users/user roles, you can do so using the User Filter option. The available choices are All User(s), Include User(s), Exclude User(s), Include User Role(s) and Exclude User Role(s). If you want to apply this rule only for specific users, then select Include User(s) and select the users in the Select User(s) option. If you want to exclude specific users from this rule, then select Exclude User(s) and select the users in the Select User(s) option. If you want to apply this rule only for specific user roles, then select Include User Role(s) and select the user roles in the Select User Role(s) option. If you want to exclude specific user roles from this rule, then select Exclude User Role(s) and select the user roles in the Select User Role(s) option.
- By default, the rule will be applied when any product is in the cart (All Product(s)). If you want to restrict/apply the rule only for specific products/categories, you can do so using the Product Filter option. If you want to apply this rule only when specific products are in the cart, then select Include Product(s) and select the products in the Select Product(s) option. If you do not want this rule to apply when specific products are in the cart, then select Exclude Product(s) and select the products in the Select Product(s) option. If you want to apply this rule only when the 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 and select the categories in the Select Categories option. If you do not want this rule to apply when any product is under a specific category, then select Exclude Categories and select the categories in the Select Categories option.
- In the Restrict Free Gift(s) if Cart Contains option, you can select Only Virtual Products to restrict the free gifts when the cart contains only virtual products.
- The Coupon Filter option lets you restrict the rule based on the coupons applied to the cart. Select Include Coupon(s) to make the user eligible when they apply the selected coupons, or Exclude Coupon(s) to exclude them, and choose the coupons in the Select Coupon(s) option. This setting works only when the WooCommerce Coupon Usage Based Gift Restriction Type option is disabled.
- For Include Coupon(s), you can further decide when the rule applies using the Applicable when options: Any one of the selected coupon(s) must be applied, All the selected coupon(s) must be applied, Only the selected coupon(s) must be applied or User applied the Specified Number of coupons. For the last choice, set the number in the Coupon Count 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 selected 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 selected category. Also, the cart cannot contain products which don’t belong to the selected categories, in order to receive the Free Gift(s).
- Total Quantity of the Product(s) from the selected categories – The sum of the quantities of the products in the cart that belong to the selected categories must reach the value set in the Minimum Quantity option to receive the Free Gift(s).
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”. Select Hide if you do not want the notice to be displayed. The notice is displayed when the user is not yet eligible for receiving free gifts from this rule.
- In the Free Gifts Eligibility Notice option, you can frame the notice using the available shortcodes.
- In the Image/Icon for Eligibility Notice option, click Select a Image to choose an image for the notice. Click Delete Image to remove it.
- If you want a progress bar to appear below the eligibility notice, indicating how close the cart is to reaching the rule’s requirement, set the Display Progress Bar in Eligibility Notice option to Show.
Eligibility Notice Configuration – Bulk
These options are in the Eligibility Notice Configuration – Bulk section of the rule. The notices are displayed based on the next eligible notices by valid rules.
- If you want to display a notice to users who are not eligible to receive free gifts from this rule, set the Display Eligible Notices for Bulk option to Show. The notice is then displayed on the cart page and the checkout page. Choose Hide if you do not want the notice to be displayed.
- If you want a progress bar to appear below the bulk 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. Choose Hide if you do not want the progress bar to be displayed.
- You can use the shortcodes on Bulk eligible notices. The available shortcodes are listed under Shortcodes in the rule’s notice settings.