Rules has to be configured if you want to allow your users to manually select their Cheapest Cart 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 “Cheapest Cart 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 topPrice Configuration
In the Cheapest Price is considered based on option, choose how the price of the products in the cart is compared to find the cheapest product. The available choices are:
- Price of the Product in the Cart
- Sub-total Price of the Product in the Cart
- Regular Price of the Product
- Sale Price of the Product
Quantity Configuration
In the Quantity for Gift Product(s) option, set the quantity of the gift product(s) that the user will receive.
Gift Awarding Method
- In the Offer the Gift As option, choose whether customers get the gift product entirely free or at a reduced price. Select Completely Free to give the gift product entirely free. Select At a Discounted Price to give the gift product at a reduced price.
- If you select At a Discounted Price, choose the Discount Method. This determines whether the discount is a percentage of the gift product’s price or a fixed amount. Select Percentage for a percentage discount or Fixed Amount for a fixed discount.
- In the Discount Value option, 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.
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.