Blog

3 ways to offer free gift products with purchase in WooCommerce | With plugin and code

give away free gift products with purchase
Table of Contents

Increasing the sales of eCommerce businesses is a big concern, especially for online store owners. You can increase your sales dramatically by using different techniques and marketing methods. Offering free gift products with purchase is one of the best methods to encourage your customers to buy more or return to your online store frequently.

In this post, we will introduce three ways to offer free gift products to your customers with purchases in WooCommerce.

Offer free gift products with purchase by using WooCommerce discount coupon

If you are looking for a simple way to offer a free product with purchase, using the WooCommerce coupon can help you. In the following, with an example, we will teach you how to offer a free product as a coupon in WooCommerce:

  1. Activate the WooCommerce coupon:

Go to WooCommerce > Settings > General > Enable coupons.

Then activate “Enable the use of coupon codes” and click “Save Changes“.

select enable coupon option in settings menu WooCommerce
  1. Add a coupon

On the WordPress Dashboard, go to Marketing > Coupons.

default add coupon in marketing menu WooCommerce

Then create a new coupon by clicking on “Add Coupon” and writing a name for it in the “Coupon Code” field:

add new coupon name in coupon page WooCommerce

Of course, you can let WooCommerce generate a random name for your coupon by selecting the “Generate Coupon Code” option.

  1. Adjust the coupon terms.

To offer free gift products to customers using WooCommerce coupons, make the following settings in the “Coupon Data” section:

In the General section:

  1. For Discount type, select Percentage discount.
  2. In the Coupon Amount section, you must enter the discount amount. Since you intend to enter a product for free to the customer, write 100 in this section – in other words, 100% discount.
select coupon amount field in general menu coupon data tab
  1. Select the free product

In the next section, to offer WooCommerce free gift with purchase, go to the Usage Restriction section, and in the Products field, select a product that you want to offer as a gift:

select products in usage restriction menu coupon data tab

Finally, click on the Publish button, so your coupon is ready to use.

In this way, free products are not automatically added to the customer’s cart, nor can you display a list of free products for customers to choose from. The only way to use a coupon in WooCommerce is to provide the coupon code to your target customers so that they can enter the relevant code and get a free product.

As you can see, using the WooCommerce coupon for the free gift on purchase has many limitations, and you cannot set specific rules or conditions for adding it to the customer’s shopping cart. If you need more flexibility, we suggest using free gifts for WooCommerce plugin so that you can easily create different offers such as BOGO, buy x get y, subtotal, buy x get x, and many other methods and keep your customers satisfied.

Offer free gifts to customers using free gifts for WooCommerce plugin

The free gifts for WooCommerce plugin is one of the best WooCommerce plugins that allows you to create various rules for offering gift products in your online store.

Installing this plugin adopted for WooCommerce provides store managers the ability to:

– Offer a product(s) or service(s) in addition to the product purchased by the user during the purchase process and before payment.

– Automatically add the gift products to the customer’s shopping cart. 

For example, the store manager can define a shopping scenario and offer free gifts to customers if users place an order above $100. This process of offering WooCommerce free items with purchase is automatically done by free gifts for WooCommerce plugin.

With the help of this plugin, the online store owner can add different products or categories as free gifts to the customer’s shopping cart or even display a list of them so that the customers can choose the desired gift from them.

Let’s review an example of offering gift products based on the “Buy x Get y” strategy with this plugin.

How to setup buy three products get one free gift product using the free gifts for WooCommerce plugin

To set up a gift product using the free gifts for WooCommerce plugin, first, you need to download and install this plugin on your WordPress website. Then you can add a new rule by navigating to the below address:

woocommerce gift plugin banner

WordPress Dashboard > iT Gift Products > Rules | Settings

add rule in free gifts WooCommerce

On the rule page, you can follow the below instructions step by step to offer a “Buy 3 get 1” free gift to your customers:

  1. Choose Buy x Get y from the Method combo box.

There are many different methods on this plugin. The buy x get y method is close to our goal. By choosing this method, we specify that by purchasing product X, the user can choose one or more products other than product X for free.  

add method option in rule free gifts WooCommerce
  1. Add  Quantities as follows:
  • Buy: Enter number 3 on this field. This number means that users must have three products from the products specified in the “Products: buy” section in their shopping cart to receive a gift.
  • Get: Enter number 1 on this field. This number means how many gift products they can select if a gift is assigned to the users.

If you mark “Auto Add gift to cart“, the gift product will be added to the customer’s cart automatically.

  1. Add the product(s) in the Buy section

This section identifies products that customers buy 3 get one free gift products.

To choose your preferred products, choose the product category, then add them in the last box under the Product-Buy section. You can specify the products of this section through other options—for example, products of a specific variable, tag or price, etc.

add amount in quantities and settings section free gifts WooCommerce
  1. Add products to be offered as a free gift under the Get section

You can choose gift products individually or from a specific category in this section.

add product option in product and buy section free gifts WooCommerce
  1. Set a condition to offer the free gift under the Conditions section.

In the condition section, you can set additional rules for offering free gifts to customers. For example, you want to offer a “Buy 3 get 1” gift to new customers or a particular day of the week. It is possible to add the proper conditions in this section.

set condition for condition section in free gifts WooCommerce


For example, in the below picture, we added a condition to offer a free gift just every Saturday:

set days of week every Sunday in condition section free gifts


Your gift product is activated by pressing the “Save Changes” button.

woocommerce gift plugin banner

Offer WooCommerce multiple free gift discounts with BOGO deal (Buy one get one free product)

One of the most popular WooCommerce free gift coupons is Buy one get one which means 50% discount on purchasing one product.

In this example, we want to show you how to use free gift offer with 50% (BOGO) on one product variation to boost its sales.

Our scenario:
If logged-in customers buy one Blue T-shirt, get another one for free.

You can follow the below instructions in our free gifts for WooCommerce plugin, to offer WooCommerce free products with BOGO deals to your customers:

  1. Choose “Buy x Get x” in the Method field.
  2. Set 1 for both Buy and Get in the Quantities and Settings section.
  3. Mark Auto Add Gift to Cart to let the plugin add the free gift automatically to the customer cart.
Offer WooCommerce free gift discounts with BOGO deal (Buy one get one free product)
  1. In the Product Buy Section, Press Add Products then choose Product Variations from the list and set Hoodie- Blue in the last box.
  2. In the Condition section, Click on Add Condition, Then choose Is logged in under the Customer tab and choose Yes for the next box.

If you set this WooCommerce gift product offer, when registered customers order one Hoodie- Blue, they will receive another one for free in their carts automatically. 

Offering a gift product with purchase in WooCommerce through coding

Another method you can use to provide gift products with purchases is to write a custom code. To enter the code, you must first specify your scenario or strategy and start writing the code based on it.

Here, we provide some custom codes for offering free gifts to customers.

Offer BOGO (Buy one get one) deal using code in WooCommerce

BOGO deal is one of the most popular marketing strategies, which means when customers buy 1 product, they will receive one more for free.

You can use this strategy to sell the products that have remained in your store for a long time or when you want to get rid of the old products to have more space for new collections.

By adding the below code to your WooCommerce store, you can offer “Buy 1 Get 1 for free gift” to your customer:

 add_action( 'template_redirect', 'it_add_gift_if_id_in_cart' );
 function it_add_gift_if_id_in_cart() {
   if ( is_admin() ) return;
   if ( WC()->cart->is_empty() ) return;
   $product_bought_id = 32;
   $product_gifted_id = 57;
   // see if product id in cart
   $product_bought_cart_id = WC()->cart->generate_cart_id( $product_bought_id );
   $product_bought_in_cart = WC()->cart->find_product_in_cart( $product_bought_cart_id );
   // see if gift id in cart
   $product_gifted_cart_id = WC()->cart->generate_cart_id( $product_gifted_id );
   $product_gifted_in_cart = WC()->cart->find_product_in_cart( $product_gifted_cart_id );
   // if not in cart remove gift, else add gift
   if ( ! $product_bought_in_cart ) {
      if ( $product_gifted_in_cart ) WC()->cart->remove_cart_item( $product_gifted_in_cart );
   } else {
      if ( ! $product_gifted_in_cart ) WC()->cart->add_to_cart( $product_gifted_id );
   }
}

Why free gift offer with purchase is important?

WooCommerce free product offer increases the likelihood that a customer will buy more items from your online store to receive a gift. WooCommerce multiple free gift discounts can also cause immediate sales of some products or encourage customers to increase their order amount to receive a valuable gift. Also, if your offer is limited in terms of time and resources, it creates more urgency for customers and can help you earn more in the short term.

In addition, WooCommerce free gifts can have the following benefits for your online shop:

Improve brand awareness by offering free gift products

Free gift offer, unlike other advertisements such as discount coupons, adds to the perceived value of your brand because buyers usually consider receiving free products more valuable than discounts. With the WooCommerce free products offer, the price of your product remains the same, but customers get something extra with their purchase.

Free gift offers prevent cart abandonment

One of the most important advantages of the WooCommerce free product offer is that it minimizes the possibility of cart abandonment. When most customers see a free gift in their shopping cart, they are more prepared to pay for the order and complete their purchase process.

Keep customer loyalty by offering free gift products

Loyal customers receive WooCommerce free gift discounts as a token of your appreciation for their repeated purchases from your site. That way, they will feel valued by your brand and stay loyal to your store.

If they have many good experiences shopping in your e-commerce shop, they are likely to recommend your online store to their friends and family, resulting in increasing your income without additional advertising and marketing costs.

Conclusion

You should be able to convince customers to buy from your online store by using your attractive offers. One of the best ways to attract more customers to your store is to add free products to the customer’s shopping cart, providing them with a beautiful shopping experience. 

This article provided helpful information about how to add free gifts with purchases on WooCommerce through WooCommerce coupons, free gifts for WooCommerce plugin, and coding. 

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping cart
Sign in

No account yet?

We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.

Start typing to see products you are looking for.