{"id":2105,"date":"2021-05-11T08:16:53","date_gmt":"2021-05-11T08:16:53","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/?p=2105"},"modified":"2023-06-29T18:02:34","modified_gmt":"2023-06-29T18:02:34","slug":"add-free-gift-to-cart-automatically","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/free-gifts-for-woocommerce\/add-free-gift-to-cart-automatically\/","title":{"rendered":"How to automatically add free product to the cart in WooCommerce if users buy from a specific product?"},"content":{"rendered":"\n
Automatically add free product to the cart if users buy from a specific product, has a great influence on boosting its sale. You can encourage your customers to pay more attention to that specific product. Also even place an unplanned order just because they feel that this is an economical purchase based on the free gift is now offering to them.<\/p>\n\n\n\n
There are different methods that you can use to offer a free gift to the users purchasing a specific product. The most common methods are:<\/p>\n\n\n\n
\n
If customer buy some quantity from a specific product (x), he \/ she will receive one or more free gift from the same product (x). This is \u201cbuy x get x<\/strong>\u201d method.<\/li>\n\n\n\n
If customers buy some quantity from a specific product (x), they will receive one or more free gift from another product\/ category (y). This is \u201cbuy x get y<\/strong>\u201d method.<\/li>\n\n\n\n
Any customer buys from a specific product (the quantity is not important) will receive a free gift this is \u201cSimple Adjustment<\/strong>\u201d method.<\/li>\n<\/ul>\n\n\n\n
To know how to set up free gift trough \u201cbuy x get x<\/strong>\u201d or \u201cbuy x get y<\/strong>\u201d methods, you can refer to \u201cHow to setup free gift if user buy from specific categories\u201d.<\/p>\n\n\n\n
In this tutorial, we want to help you to instruct our plugin to auto add product to cart in WooCommerce. It happen if users buy from a specific product without considering the order quantity. Let\u2019s start.<\/p>\n\n\n\n
Decide about the free gift and your strategy<\/strong><\/h2>\n\n\n\n
The first step is to decide about the free gift and your strategy. In this tutorial, we have planned to use the options in our plugin to offer a free gift according to the below strategy:<\/p>\n\n\n\n
\n
Two <\/strong>“Hoodies” will be added automatically to the cart of customers who buy from “V-Neck<\/strong> T-Shirt”.<\/strong><\/p>\n<\/blockquote>\n\n\n\n
To set up this free gift in our plugin we need to add the below information:<\/p>\n\n\n\n
\n
The product offered as free gift is “Hoodie<\/strong>” <\/li>\n\n\n\n
The number of free gifts offered to the customers are 2<\/strong><\/li>\n\n\n\n
The specific product that customers must purchase to receive the free gift is “V-neck t-shirt<\/strong>“<\/li>\n<\/ul>\n\n\n\n
The number of products purchased by the customers is not important in this strategy. So the free gift added to the cart of customers that buy just one \u201cV-neck t-shirt\u201d<\/strong> is not different from those ones buying more than 1.<\/p>\n\n\n\n