{"id":2076,"date":"2021-05-18T15:25:45","date_gmt":"2021-05-18T15:25:45","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/?p=2076"},"modified":"2025-10-22T10:35:57","modified_gmt":"2025-10-22T10:35:57","slug":"setup-free-gift-if-user-purchase-product-with-specific-quantity","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/setup-free-gift-if-user-purchase-product-with-specific-quantity\/","title":{"rendered":"How to setup free gift if user purchase a product with specific quantity in WooCommerce?"},"content":{"rendered":"\n<p>If you think that some of the products in your WooCommerce online store have not enough sale? Or you need to consider a way to encourage customers purchase more quantity from those products? Or pay more attention to them? One of the best strategies to motivate your potential customer buy more quantities of a specific product and boost its sale is offering a free gift if user purchase that product with a specific quantity<\/p>\n\n\n\n<p>There are a lot of different methods available in <a href=\"https:\/\/ithemelandco.com\/plugins\/free-gifts-for-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">GIFTiT &#8211; Free Gifts for WooCommerce<\/a> plugin. This ability can help you to set up a free gift if user purchase a product with a specific quantity. Stay with us to review all of these methods in this tutorial.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-gift-method-one-buy-x-get-x\"><strong>Gift Method one: buy x get x<\/strong><\/h2>\n\n\n\n<p>In this method, you can set up a free gift with the following strategy:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>If customer purchase a specific quantity of product x, he or she can receive x quantity from the same product as a free gift.<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>For example, if customer by <strong>5<\/strong> products from \u201cAccessory&#8221; category, he or she will receive <strong>1<\/strong> free gift from the same category.<\/p>\n\n\n\n<p>To set up this free gift, you need to choose \u201c<strong>buy x get x<\/strong>\u201d method from the top of the rule form.<\/p>\n\n\n\n<p>Don&#8217;t forget that you need to assign a \u201c<strong>rule name<\/strong>\u201d in order to save and activate this free gift. However, adding description is optional and it is not necessary to be filled for going further.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-Method-buy-x-get-x.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1408\" height=\"753\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-Method-buy-x-get-x.jpg\" alt=\"Method buy x get x in WooCommerce product gift plugin\" class=\"wp-image-2077\" style=\"width:1408px;height:753px\"\/><\/a><\/figure>\n\n\n\n<p>In the next step, you need to specify the exact quantity that the customer must purchase from a product or category to receive their gift. For example, we typed 5 under \u201c<strong>buy<\/strong>\u201d field which means customers must purchase five products to receive the gift.<\/p>\n\n\n\n<p>We also typed \u201c<strong>1<\/strong>\u201d under the \u201c<strong>get<\/strong>\u201d field to instruct the plug-in offer just one gift to the customers.<\/p>\n\n\n\n<p>We marked \u201c<strong>Same gift\u201d<\/strong> and \u201c<strong>auto add the gift to cart<\/strong>\u201d. It&#8217;s for we want to instruct the plug-in to add this gift automatically to the customer cart.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-tick-checkbox.jpg\"><img decoding=\"async\" width=\"1414\" height=\"747\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-tick-checkbox.jpg\" alt=\"same gift and auto add to cart options on buy X get X method\" class=\"wp-image-2078\" style=\"width:1414px;height:747px\"\/><\/a><\/figure>\n\n\n\n<p>Under \u201c<strong>products buy<\/strong>\u201d section, you need to specify the product or category that the customers must purchase from them to receive the gift.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-instructions-of-buy-x-get-x\"><strong>Instructions of buy x get x:<\/strong><\/h4>\n\n\n\n<p>Press at the product button<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At the first combo box find \u201c<strong>Product Category<\/strong>\u201d and choose it<\/li>\n\n\n\n<li>Select \u201c<strong>in list<\/strong>\u201d from second combo box<\/li>\n\n\n\n<li>In the third combo box type a letter like \u201c<strong>s<\/strong>\u201d to see the list of product categories. Then, you can add as many product categories as you want in this section.<\/li>\n<\/ul>\n\n\n\n<p>For example, as you can see in the below picture, we have selected \u201c<strong>Accessories&#8221; <\/strong>and <strong>&#8220;T-shirts\u201d<\/strong><\/p>\n\n\n\n<p>So, if the customers purchase 5 quantity of any products in these categories, the plug-in will add one product from the same categories to their Cart.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-add-categories.jpg\"><img decoding=\"async\" width=\"1417\" height=\"756\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-add-categories.jpg\" alt=\"Get free gift from if customer buy from specific category\" class=\"wp-image-2079\" style=\"width:1417px;height:756px\"\/><\/a><\/figure>\n\n\n\n<p>By pressing \u201c<strong>Save Changes\u201d<\/strong> button this gift will be activated on your online shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-save-changes.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1399\" height=\"675\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-save-changes.jpg\" alt=\"save free gift rule changes to WooCommerce free gifts plugin\" class=\"wp-image-2080\" style=\"width:1399px;height:675px\"\/><\/a><\/figure>\n\n\n\n<p>Now let&#8217;s see what will happen on the customer review.<\/p>\n\n\n\n<p>As illustrated below when a customer purchase more than 5 products from \u201cAccessories&#8221; and &#8220;t-shirt&#8221; categories, 1 gift has been added to his cart for free.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-customer-view.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1480\" height=\"756\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-customer-view.jpg\" alt=\"customer view after setup buy X get X rule, in WooCommerce free gift plugin\" class=\"wp-image-2081\" style=\"width:1480px;height:756px\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-gift-method-2-buy-x-get-y\"><strong>Gift Method 2: Buy x get y<\/strong><\/h2>\n\n\n\n<p>By using \u201c<strong>Buy x get y\u201d<\/strong> method, the product category that the customers must purchase a specific quantity from it is not the same as the product category they can get their free gifts.<\/p>\n\n\n\n<p>For example, consider that we want to offer a free gift with the below strategy:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>If customers buy 5 quantity from the products in the iCat category, they will receive 1 product from Accessory category for free.<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>As we mentioned above at first you need to define the below fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Method<\/strong>: Buy x get y<\/li>\n\n\n\n<li><strong>Rule Name<\/strong>: For example, <strong>\u201cgift for a specific quantity<\/strong>\u201d<\/li>\n\n\n\n<li><strong>Buy<\/strong>: 5&nbsp;<\/li>\n\n\n\n<li><strong>Get<\/strong>: 1<\/li>\n\n\n\n<li>Mark the \u201c<strong>same gift<\/strong>\u201c<\/li>\n\n\n\n<li>Unmark \u201c<strong>auto add gif to cart<\/strong>\u201d<\/li>\n\n\n\n<li><strong>Product-buy<\/strong>:<strong> iCat category<\/strong><\/li>\n<\/ul>\n\n\n\n<p>As illustrated below a new section has been added to the form enabling you to specify the product that must be offered as a gift to your customer.<\/p>\n\n\n\n<p>In this example we want to let users purchase product from &#8220;iCat&#8221; category with a specific quantity to choose one product from <strong>Accessories category<\/strong> for free.<\/p>\n\n\n\n<p>To do this, we have chosen \u201c<strong>Accessories<\/strong>&#8221; category under \u201c<strong>include category \/ tag\/&nbsp; taxonomy\u201d.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-Method-buy-x-get-y.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1402\" height=\"750\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-Method-buy-x-get-y.jpg\" alt=\"method Buy x get y in WooCommerce product gift plugin\" class=\"wp-image-2082\" style=\"width:1402px;height:750px\"\/><\/a><\/figure>\n\n\n\n<p>After activating this free gift by pressing \u201c<strong>Save Changes<\/strong>\u201d, the free gift will be offered to your customers exactly as you expected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-gift-method-3-simple-adjustment\"><strong>Gift Method 3: simple adjustment<\/strong><\/h2>\n\n\n\n<p>Another way to set up free gift if user purchase product with specific quantity, is to choose \u201c<strong>Simple Adjustment<\/strong>\u201d from the method combo box then follow the below instructions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Type a \u201c<strong>Rule name<\/strong>\u201d<\/li>\n\n\n\n<li>Type \u201c<strong>1<\/strong>\u201d under \u201c<strong>get<\/strong>\u201d filled which means the customer will receive one free gift<\/li>\n\n\n\n<li>Mark \u201c<strong>Same gift<\/strong>\u201d&nbsp;<\/li>\n\n\n\n<li>Unmark \u201c<strong>auto add gift to cart<\/strong>\u201d<\/li>\n\n\n\n<li>Choose <strong>Accessories<\/strong> under \u201c<strong>Include Categories \/ Tag\/ Taxonomy<\/strong>\u201d of <strong>Get<\/strong> section to instruct the plug-in let customer choose their prefered free gift from this category<\/li>\n<\/ul>\n\n\n\n<p>Now it&#8217;s time to to add a condition and instruct the plug-in. It help to offer this free gift only to the uses who purchase the specified product with a specific quantity.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-instructions-of-simple-adjustment\"><strong>Instructions of simple adjustment<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press \u201c<strong>Add condition<\/strong>\u201d button<\/li>\n\n\n\n<li>From the first combo box, choose \u201c<strong>cart item quantity <\/strong><strong>\u2013<\/strong><strong> product<\/strong>\u201d under \u201c<strong>cart items &#8211; qty\u201d<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-method-simple-adjustment.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1402\" height=\"756\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-method-simple-adjustment.jpg\" alt=\"choose \u201ccart item quantity \u2013 product\u201d under \u201ccart items - qty\u201d to setup free gift if user purchase a product with specific quantity\" class=\"wp-image-2083\" style=\"width:1402px;height:756px\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the second combo box, select the products that the user must purchase from it for example. We selected \u201c<strong>WordPress Pennant\u201d<\/strong> and \u201c<strong>Wrap1<\/strong>\u201d<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-select-categories.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1402\" height=\"756\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-select-categories.jpg\" alt=\"select the products that the user must purchase from it to set free gift if user purchase a product with specific quantity\" class=\"wp-image-2084\" style=\"width:1402px;height:756px\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose \u201c<strong>at least<\/strong>\u201d from the second combobox<\/li>\n\n\n\n<li>Type \u201c<strong>5<\/strong>\u201d in the last text box<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-choose-atleast-option.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1408\" height=\"759\" src=\"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/9\/2021\/05\/19-choose-atleast-option.jpg\" alt=\"free gift if user purchase a product with specific quantity\" class=\"wp-image-2085\" style=\"width:1408px;height:759px\"\/><\/a><\/figure>\n\n\n\n<p>By adding this condition, you set the below rule in a plug-in:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>If customers buy at least 5 quantity from &#8220;WordPress Pennant&#8221; and &#8220;wrap 1&#8221; category, they can choose 1 free gift from accessories category.<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>To activate this free gift, you just need to press \u201c<strong>Save Changes<\/strong>\u201d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you think that some of the products in your WooCommerce online store have not enough sale? Or you need to consider a way to encourage customers purchase more quantity from those products? Or pay more attention to them? One of the best strategies to motivate your potential customer buy more quantities of a specific [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2076","post","type-post","status-publish","format-standard","hentry","category-plugin-usage"],"_links":{"self":[{"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/posts\/2076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/comments?post=2076"}],"version-history":[{"count":1,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/posts\/2076\/revisions"}],"predecessor-version":[{"id":3353,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/posts\/2076\/revisions\/3353"}],"wp:attachment":[{"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/media?parent=2076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/categories?post=2076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/tags?post=2076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}