Rules has to be configured if you want to allow your users to manually select their Coupon 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 “Coupon 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 top- In the Select the Coupon option, select the coupon which the user has to apply to their cart to receive a free gift.
- In the Gift Product Selection Type option, choose either Selected Product(s) or Products from Selected Categories.
- If you choose Selected Product(s), select the products which the user will receive as free gifts in the Select Product(s) option. The selected Product(s) will be added to the user’s cart once the coupon is applied.
- If you choose Products from Selected Categories, select 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.
- 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 the Offer the Gift As option, choose 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.
- Please make sure the products you select as free gifts have been published and are currently In-stock.
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 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 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 clear 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 the rule. If left empty, or if 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 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 Minimum and Maximum order count in the Previously Purchased Order Count option.
- 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 restrict the free gift when a WooCommerce coupon is used in the order.
Criteria
↑ Back to top- Select AND in the Criteria Type option if you want to give free gifts only if the user satisfies all the available criteria. Choose OR if you want to give free gifts if 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 respective 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 the Select a Category option. You can also optionally include sub-categories 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 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 users/user roles, you can do so using the User Filter option. 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, 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 roles in the Select User Role(s) option. If you want to exclude specific user roles, then select Exclude User Role(s) and select the 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 to apply this rule 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 for 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 and select the categories in the Select Categories option. 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 the Select Categories option.
- If you want to restrict the rule based on the coupons applied, use the Coupon Filter option. Select Include Coupon(s) or Exclude Coupon(s) and select the coupons in the Select Coupon(s) option. This setting will work only when the WooCommerce Coupon Usage Based Gift Restriction Type option is disabled.
You can further place restrictions on Include Product(s) and Include Categories.
Product Restrictions
In the Applicable when option, choose one of the following:
- 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
In the Applicable when option, choose one of the following:
- 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 category, and 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.