Rules has to be configured if you want to automatically add Total-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 “Total-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 topTotal Configuration
- In the Criteria Calculated Based on option, choose how the total is calculated:
- Cart Subtotal – Sum of all Product Prices and Taxes if applicable.
- Order Total – Sum of all Product Prices, Shipping and Taxes.
- Category Total – Sum of all Product Prices plus applicable Taxes that belong to a particular category.
- If you choose Category Total, select the category in the Select a Category field.
- In the Including Sub-category Product(s) option, select Yes if the products of the sub-categories of the selected category should also be counted, or No if they should not.
- If you wish to calculate the Category Total after the coupon discount is applied, enable Calculate Category Total Criteria after WC Coupon Discount is applied. When enabled and if a WC coupon is applied, the discount amount will be considered for the calculation of the “Category Total Criteria”.
- In the Price field, enter the total value that has to be reached for the user to receive the free gift.
Gift Product(s) Configuration
- In the Gift Product Selection Type option, choose Selected Product(s) to give specific products as gifts, or Products from Selected Categories to give products from specific categories as gifts.
- If you choose Selected Product(s), search and select the products in the Select Product(s) field (placeholder Search a Product). The selected product(s) will be added to the user’s cart once the total is reached.
- If you choose Products from Selected Categories, select the categories in the Select Categories field. The products from the selected categories will be displayed to the user.
- Please make sure the products you select as free gifts have been published and are currently In-stock.
Automatic Gift Settings
The following options decide which gift product(s) are added to the cart automatically.
- 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. The choices are Price, Regular Price and Sale Price. It applies to the Cheapest and the Most Expensive options of both the Product Consideration for Auto-Add and the Variation Consideration for Auto-Add.
Gift Quantity Configuration
- In the Quantity for Selected Free Gift Product(s) field, enter the quantity of the gift to be given.
Gift Awarding Method
- In the Offer the Gift As option, choose whether customers get the gift product entirely free (Completely Free) or at a reduced price (At a Discounted Price).
- If you choose At a Discounted Price, select the Discount Method – Percentage (a percentage of the gift product’s price) or Fixed Amount.
- In the Discount Value field, 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.
Gift Repeating Configuration
- Enable Repeat Gift if the user should keep receiving free gifts every time they add the multiples of the required quantity to the cart.
- In the Repeat Gift Mode option, choose Unlimited if there is no restriction on receiving free gifts, or Limited if the free gift can be received only until the repeat limit is reached.
- If you choose Limited, enter the maximum number of times in the Repeat Limit field.
Other Matching Rules
↑ Back to topIf 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.
- 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 sum of all product quantities in the cart 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 values in the respective fields of the Number of Products in the Cart 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.