Steps to Add Gifts (Freebies)
Last updated
Last updated
Adding gifts (freebies) helps clearly showcase promotional offers, enhance user experience, increase purchase conversion rates, support flexible promotional strategies, and enable precise inventory management, all while boosting brand image.
Go to the Metafields configuration page.
Add a new Metaobject and name it "gift" (the name can be customized).
Ensure that this Metaobject contains the following three fields:
image (Select file type; Select images.): Used to upload the gift image.
title (Single line text type): Used to enter the gift’s name.
price (Money type): Used to set the price of the gift.
In the "gift" Metaobject, add multiple entries, with each entry representing a separate gift.
For each entry, upload the image, and fill in the gift’s title and price.
Add a gift to the product
If a gift is added to a product, it will apply to all variants of that product.
Open the Metafield configuration page and add a new product metafield named product-gift
, ensuring the namespace and key are set to custom.product_gift
.
Set the Metafield type to "Metaobject," reference the previously created gift
metaobject, and choose the List of entries.
On the product editing page, locate the "Product Metafields" section, find the product-gift
Metafield, and select the desired gift entries to add.
Add a gift to a specific product variant:
Open the Metafield configuration page and add a new product variant metafield named variant-gift
, ensuring the namespace and key are set to custom.variant_gift
.
Set the metafield type to "Metaobject" and reference the previously created gift
metaobject, selecting the list type.
On the product editing page, go to the "Variants" section, select the specific variant you want to add a gift to, and open the variant editing page.
In the variant editing page, locate the "Metafields" section, find the variant-gift
metafield, and select the desired gift entries.
You can place the gift block anywhere you want on the product page. If no gifts are added to the product, the gift block will not be displayed.
A maximum of 6 gifts can be added to each product or variant.
Ensure that the metafields are configured correctly to make it easy to select and add gifts during future operations.