Rules has to be configured if you want to allow your users to manually select their Total-based Free Gift.
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 – 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 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 displayed to the user once the total is reached, and the user can add them to the cart.
- 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.
Gift Quantity Configuration
- In the Quantity Consider Type option, choose how the gift quantity is counted:
- Each Products
- Across Eligible Products
- 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
- Enable Apply this Rule Along with Other Matching Rules if you want this rule to be applied along with the other rules that match.
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 date, the rule has to be applicable in 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.
- 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 will be applicable for unlimited orders. You can reset the used count using the Reset used count button.
- In the Maximum Gifts in an Order from this Rule option, set the maximum number of gifts for an order from this rule. If left empty, or when the rule value is more than the Global Restriction, the Global Restriction will apply.
- 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 Minimum and Maximum order count in the Previously Purchased Order Count option.
- In the WooCommerce Coupon Usage Based Gift Restriction Type option under Coupon Restrictions, choose Global Level or Rule Level. If you choose Rule Level, 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 want to calculate the criteria based on cart subtotal, then in “Criteria Calculated Based on” option, set the value as “Cart Subtotal“.
- If you want to calculate the criteria based on order total, then in “Criteria Calculated Based on” option, set the value as “Order Total“.
- 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 you can 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”.
- Give the minimum and maximum Cart Subtotal/Order Total/Category Total values in the respective Min and Max fields.
- 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 cart quantities 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 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.
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).
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.
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, a notice will be displayed to the user in cart and checkout if they are not eligible for receiving free gifts from this rule.
- You can frame the notice in the Free Gifts Eligibility Notice option using the available shortcodes listed under Shortcodes.
- You can add an image or icon to the notice using the Image/Icon for Eligibility Notice option (Select a Image / Delete Image).
- Set Display Progress Bar in Eligibility Notice to Show to display a progress bar below the eligibility notice, indicating how close the cart is to reaching the next tier of the rule.