Rules has to be configured if you want the Coupon based Free Gift to be automatically added 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 “Coupon 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 top- In Select the Coupon option, select the coupon which the user has to apply to their cart to receive a free gift.
- In Gift Product Selection Type option, choose whether the gifts come from Selected Product(s) or Products from Selected Categories.
- In Select Product(s) option, choose the products which the user will receive as free gifts. The selected product(s) will be added to the user’s cart once the coupon is applied.
- If you selected Products from Selected Categories, choose the categories in the Select Categories option. The products from the selected categories will be added to the user’s cart once the coupon is applied.
- In Product Consideration for Auto-Add option, choose which product from the selected categories or brands will be awarded as the 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.
- In Number of Products to Award option, set how many products from the selected categories or brands are awarded as free gifts. Gifts will be awarded only while eligible products are available.
- In Variation Consideration for Auto-Add option, choose which variation of a selected Variable Product will be awarded, 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.
- In Price Consideration to Pick the Auto-Added Gift option, choose which price (Price, Regular Price or Sale Price) decides the cheapest or most expensive product or variation to auto-add. It applies to the Cheapest and Most Expensive options of both the Product Consideration and the Variation Consideration for Auto-Add.
- By default, the user will receive one quantity of the product for free. If you want to modify the free gift quantity, you can do so by modifying the Quantity for Selected Free Gift Product(s) option.
- In Offer the Gift As option, choose whether customers get the gift Completely Free or At a Discounted Price.
- If you choose At a Discounted Price, select the Discount Method (Percentage or Fixed Amount) and enter the Discount Value. 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.
Restrictions
↑ Back to top- In the Maximum Gifts in an Order from this Rule option, set 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 the Maximum Number of Orders option. If left empty, the rule is applicable for unlimited orders. The number of orders used and remaining is displayed, and you can use the Reset used count button to reset it.
- 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 option, 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 of the Previously Purchased Order Count.
- If you want to apply the rule for a specific duration, then select the From and To dates in the Rule Validity option. If no date is selected, the rule is valid on all days.
- 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 for all days of the week.
- In the WooCommerce Coupon Usage Based Gift Restriction Type option, choose Global Level or Rule Level. If you choose Rule Level, use the Restrict Free Gift if WooCommerce Coupon is Used in the Order option (No or Yes) to decide whether the user is ineligible for a free gift when they have used a WooCommerce coupon in the order.
Criteria
↑ Back to top- Select AND in Criteria Type option if you want to give free gifts only when the user satisfies all the available criteria. Choose OR if you want to give free gifts when the user satisfies 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 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 Calculate Category Total Criteria after WC Coupon Discount is applied.
- 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 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 use 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 Select User(s). If you want to exclude specific users, then select Exclude User(s) and select the users in Select User(s). If you want to apply this rule only for specific user roles, then select Include User Role(s) and select the roles in Select User Role(s). If you want to exclude specific user roles, then select Exclude User Role(s) and select the roles in Select User Role(s).
- 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 use the Product Filter option. If you want to apply this rule only when specific products are in cart, then select Include Product(s) and select the products in Select Product(s). If you do not want to apply this rule when specific products are in the cart, then select Exclude Product(s) and select the products in Select Product(s). 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 and select the categories in Select Categories. If you do not want to apply this rule when any product is under a specific category, then select Exclude Categories and select the categories in Select Categories.
- You can further place restrictions on Include Product(s) and Include Categories using the Applicable when option.
- In the Coupon Filter option, choose Include Coupon(s) or Exclude Coupon(s) and select the coupons in Select Coupon(s). The user will be eligible for free products from this rule when they apply any of the coupons selected. 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 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, and the cart cannot contain products which don’t belong to the selected categories, 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.