Free Gifts for WooCommerce allows you to offer Free Gifts to your customers whenever they make a purchase on your site.
Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
Ways to Offer Free Gifts
↑ Back to topManual Free Gifts
↑ Back to top- The user has some products in the cart and they are eligible to receive free gift(s).
- The free gift(s) will be displayed on the cart page or the checkout page(based on the configuration).
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Manual Free Gifts
Automatic Free Gifts
↑ Back to top- The user has some products in the cart and they are eligible for receiving Free Gift(s).
- The Free Gift(s) will be automatically added to the user’s cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Automatic Free Gifts
Buy X Get Y(Buy One Get One) – Manual
↑ Back to top- User has to add a product to the cart which is eligible for a Buy One Get One offer.
- Once the product is added to the cart with the required quantity, based on the configuration, the eligible free gift(s) will be displayed on the cart page or the checkout page (based on the configuration).
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Buy X Get Y(Buy One Get One) – Manual
Buy X Get Y(Buy One Get One) – Automatic
↑ Back to top- The user has to add a product to the cart which is eligible for a Buy One Get One offer.
- Once the product is added to the cart with the required quantity, based on the configuration, the gift product will be automatically added to the cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Buy X Get Y(Buy One Get One) – Automatic
Total-based Free Gift – Manual
↑ Back to top- The user adds products to the cart, and the total of the cart (cart subtotal, order total or category total, based on the configuration) reaches the amount set in the rule.
- Once the total is reached, they are eligible to receive free gift(s). Based on the configuration, the eligible free gift(s) will be displayed on the cart page or the checkout page.
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Total Based Free Gift – Manual
Total-based Free Gift – Automatic
↑ Back to top- The user adds products to the cart, and the total of the cart (cart subtotal, order total or category total, based on the configuration) reaches the amount set in the rule.
- Once the total is reached, they are eligible for receiving Free Gift(s).
- The Free Gift(s) will be automatically added to the user’s cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Total Based Free Gift – Automatic
Coupon based Free Gift – Manual
↑ Back to top- The user has some products in the cart and applies the associated coupon to their cart.
- Once the coupon is applied, they are eligible for receiving Free Gift(s). Based on the configuration, the eligible free gift(s) will be displayed on the cart page or the checkout page (based on the configuration).
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Coupon based Free Gift – Manual
Coupon based Free Gift – Automatic
↑ Back to top- The user has some products in the cart and applies the associated coupon to their cart.
- Once the coupon is applied, they are eligible for receiving Free Gift(s).
- The Free Gift(s) will be automatically added to the user’s cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Coupon based Free Gift – Automatic
Bulk Pricing Based Free Gift – Manual
↑ Back to top- The user adds products to the cart, and the total of the cart (cart subtotal, order total or category total, based on the configuration) falls within one of the total ranges set in the rule.
- The free gift(s) and the gift quantity set for that range apply, so different total ranges can give different gifts. Based on the configuration, the eligible free gift(s) will be displayed on the cart page or the checkout page.
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Bulk Pricing Based Free Gift – Manual
Bulk Pricing Based Free Gift – Automatic
↑ Back to top- The user adds products to the cart, and the total of the cart (cart subtotal, order total or category total, based on the configuration) falls within one of the total ranges set in the rule.
- The free gift(s) and the gift quantity set for that range apply, so different total ranges can give different gifts.
- The Free Gift(s) will be automatically added to the user’s cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Bulk Pricing Based Free Gift – Automatic
Bulk Quantity Based Free Gift – Manual
↑ Back to top- The user adds products to the cart, and the total quantity of products in the cart falls within one of the quantity ranges set in the rule.
- The free gift(s) and the gift quantity set for that range apply, so different quantity ranges can give different gifts. Based on the configuration, the eligible free gift(s) will be displayed on the cart page or the checkout page.
- From the list of available free gift products, the user can add gift products to their cart.
- The price for the free gift products will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Bulk Quantity Based Free Gift – Manual
Bulk Quantity Based Free Gift – Automatic
↑ Back to top- The user adds products to the cart, and the total quantity of products in the cart falls within one of the quantity ranges set in the rule.
- The free gift(s) and the gift quantity set for that range apply, so different quantity ranges can give different gifts.
- The Free Gift(s) will be automatically added to the user’s cart.
- Once the order is placed successfully by the user, they will receive the Free Gift products free of cost.
Guide to Setting up Bulk Quantity Based Free Gift – Automatic
Cheapest Cart Based Free Gift – Manual
↑ Back to top- The user has some products in the cart and they are eligible to receive free gift(s).
- The cheapest product in the user’s cart (based on the price type set in the configuration) becomes the free gift, and it will be displayed on the cart page or the checkout page (based on the configuration).
- From the list of available free gift products, the user can add the gift product to their cart in the quantity set in the rule.
- The price for the free gift product will be updated as Free automatically.
- Once the order is placed successfully by the user, they will receive the Free Gift product free of cost.
Guide to Setting up Cheapest Cart Based Free Gift – Manual
Cheapest Cart Based Free Gift – Automatic
↑ Back to top- The user has some products in the cart and they are eligible for receiving Free Gift(s).
- The cheapest product in the user’s cart (based on the price type set in the configuration) becomes the free gift.
- The Free Gift will be automatically added to the user’s cart in the quantity set in the rule.
- Once the order is placed successfully by the user, they will receive the Free Gift product free of cost.
Guide to Setting up Cheapest Cart Based Free Gift – Automatic
Free Shipping
↑ Back to top- The user has some products in the cart and they are eligible for the Free Shipping rule.
- Once the rule matches, the shipping cost of the shipping method(s) selected in the rule becomes free automatically. If no specific shipping method is selected, it applies to all shipping methods.
- A free shipping success message is displayed to the user on the cart page and the checkout page (based on the configuration).
- Once the order is placed successfully by the user, they receive free shipping on their order.
Guide to Setting up Free Shipping
Translation
↑ Back to topFree Gifts for WooCommerce Plugin is translation ready meaning you can edit the po files by which you can translate the text to any language.
The steps to do the translation are as follows. For eg let us consider translation to French.
- Download and install Poedit
- Open the file free-gifts-for-woocommerce -> languages folder -> free-gifts-for-woocommerce.pot using Poedit.
- Create a new translation file by clicking Create new translation button
- Choose the Source text and set its corresponding French text in Translation Text Area.
- Save the changes.
- Save the file name as free-gifts-for-woocommerce-fr_FR.po
- Then go to WordPress dashboard -> Settings -> General and select the Site Language as French
FAQ
↑ Back to topQ: How I can translate the strings that are displayed in the frontend?
You can customize the messages and frontend display text using Localization and Messages settings,
– WooCommerce -> Free Gifts -> Settings -> Localization
– WooCommerce -> Free Gifts -> Settings -> Messages
Q: How to allow customers to select more than one gift?
(i) Please follow the below configuration steps for the Maximum Gifts from this
rule(In the Manual Mode),
Go to WooCommerce -> Free Gifts -> Settings -> General
– Select Rule Settings in the Maximum Number of Gift Products in “Manual Rule Type” is decided based on the drop-down menu.
– Now, the Maximum Gift Product restriction can be configured in each rule.
– Create a new rule /Edit an existing one and locate Maximum Gifts in an Order from this Rule option to set a rule-based restriction.
– If you want to allow the user to select more than one quantity of the same gift product, then enable the “Allow Adding Multiple Quantities of Same Gift Product in an Order (Only for Manual Free Gifts)”. The user can select the same gift product with multiple quantities based on the Maximum Gifts in an Order from this Rule value in the respective rule in this case.
Note: If the Maximum Gifts in an Order from this Rule(under Rule settings) option is left empty / when the value under the rule settings is more than the Global Restriction, then the Global Restriction will apply.
(ii) Consider the below example configuration in the Manual Gift Mode,
Rule 1:
– Set the criteria as per your need in the rule configuration.
– Select the respective gift products in the “Select Product(s)” field under the “General section” of the Rule configuration.
– Set 2 in the Maximum Gifts in an Order from this Rule field.
– Update the rule.
Q: How to add the Gift Product(s) in multiple languages?
If you are expecting the products(Buy and Gift Products) to be available in multiple languages, please check by configuring the rules as follows,
(i) Create a rule with the required criteria and select the Gift Product which is available in one language(English) & save the rule.
(ii) Create another rule with the same criteria and select the Gift Product that is available in another language & save the rule.
Q: Free Gift awarded even when the criteria weren’t met. Why is that?
(i) Please make sure whether the AND condition is selected in the Criteria Type drop-down under the rule configuration.
(ii) If not, then it may be the reason behind this kind of scenario.
(iii) Please select the “AND” condition and then check.
Q: I want to display a message on the shopping cart or checkout pages stating how much more the customer needs to get a free gift product. How can I do that?
(i) Yes, you can find the notice configuration under the Notice section of the rule configuration.
(ii) The notice will display only if the customer’s cart content doesn’t match the criteria of a respective Free Gift Rule & it will not show once it matches the corresponding rule.
(iii) For Example,
i) If the rule on your site contains the Total criteria as follows,
Minimum $ 201 – Max – $ 300;
– In this case, if the customer’s cart has less than $201 means, then the customer is not eligible to get the gift item from the respective rule & the Eligible notice will display in this case.
– Once the customer is eligible for getting the Free Gift(s) from a specific rule, then the gift item(s) from the matched rule will display & the eligibility notice will not be displayed in this case.
– If you configure the eligibility notice in all the rules configured on your site, then the respective rule’s eligibility notice will display(if one of the rule criteria matches and the respective gift product is added to the cart, then the respective eligibility notice will be hidden and the remaining rule’s notice will display).
Q: I have set up a rule whereby the customer gets Product B for free when they purchase Product A. I’d like it so that when the customer purchases 2 x product A they get 2 x product B, but I’m unsure. How to set this up?
You can achieve it using the following configuration steps,
(i) Select the Buy X Get Y mode under the rule configuration.
(ii) Select Buy X Get Y(Automatic) if the gift product will be added automatically and Select Buy X Get Y(Manual) if the gift product will be manually added by the customer.
(iii) Select Different Products in the Buy Product Type.
(iv) Select Product in the Buy Product Type drop-down.
(v) Search and select the Buy Product in the Buy Product field.
(vi) Search and select the required Gift product in the Get Product(s) field.
(vii) Set the required quantity in both the Buy Quantity and Get Quantity fields(i.e. 1 in this case).
(viii) Enable the “Repeat” option(i.e Buy 1 Get 1, Buy 2 Get 2 & more).
(ix) Save the rule.
Q: I want to Hide the selected Gift Product(s) from the Shop and Category Page. How can i do that?
Please enable the Hide Free Gift Products on Shop and Category Pages under WooCommerce -> Free Gifts -> General -> General Settings
Q: How to get shipping costs for free gifts?
Please enable the Allow Shipping Cost for Free Gift under WooCommerce -> Free Gifts -> General -> General Settings.
Q: The Free Gifts plugin affects some functions in the Cart and Checkout Page. Why is that?
Please select “Footer” in the “Frontend Scripts Enqueued on” option under WooCommerce -> Free Gifts -> Settings -> Advanced -> Troubleshoot which may help in this case.
Q: Need a function with the ability to choose the time interval for deleting accumulated logs from the database. How can i do that?
Please follow the steps below,
(i) Go to WooCommerce -> Free Gifts -> Settings -> Advanced -> Deletion
Settings.
(ii) Select Yes in the Delete Master log(s) after the X Duration option.
(iii) Configure the Duration as per your need in Delete Master log(s) after field.
(iv) Save the settings.
Q: Is there any setting that can award the free gift only based on the final price after the discount is applied?
Please consider the following regarding the Total based criteria and select the Order Total criteria in the rule configuration,
(i) Cart Subtotal criteria – Sum of all product prices and taxes if applicable.
(ii) Order Total criteria – Sum of all product prices, shipping & taxes.
Q: Is there an API for the gift rule that is created?
Please refer to the below API info,
(i) List the rules – siteurl/wp-json/fgf/rules
(ii) Rule info – siteurl/wp-json/fgf/rules/id
Q: How to give a free gift when a customer has purchased a specific amount[e.g. $1000] from a certain product category?
Please follow the below steps,
(i) Edit an existing rule or create a new rule.
(ii) Select Category Total in the Criteria Calculated based on the drop-down menu.
(iii) Select the category in the Select a Category field.
(iv) If you want to include the Sub-category Products for the criteria calculation, then select Yes in the Including Sub-category Product(s) drop-down.
(v) Set the value in the Min and Max field.
(vi) Save the settings.
Q: How to create a rule where a person with their FIRST order only can get a Free Product?
Please follow the below steps,
(i) Edit an existing rule or create a new rule.
(ii) Go to the Restrictions section.
(iii) Select Enable- For Register Users Only in the Order Restriction per User drop-down.
(iv) Select No purchase history available case only in the Award Gift based on User’s Purchase History drop-down.
(v) Update the rule.
Q: How to restrict the Free Gift rule to be applied for a specific number of orders only?
Please follow the below steps,
(i) Edit an existing rule or create a new rule.
(ii) Set the configurations as per your need under the rule configuration.
(iii) Go to the Restrictions section.
(iv) Set the Number of Order(s) in the Order Restrictions field.
(v) Update the rule.
Q: How to restrict the Free Gift rule to be applied for a specific number of orders per user which applies only to Logged-in Users?
Please follow the below steps,
(i) Edit an existing rule or create a new rule.
(ii) Set the configurations as per your need under the rule configuration.
(iii) Select Enable – For Registered User(s) Only in the Order Restriction per User option.
(iv) Set the Number of Order(s) per User value as per your need in the Number of Order(s) per User field.
(v) Update the rule.
Questions and Feedback
↑ Back to topHave a question before you buy? Please fill out this pre-sales form.
Already purchased and need some assistance? Get in touch with us via the Help Desk.