Gift products are set up like any other product at a price of zero, so by default they appear in collections and search results. If a customer adds only the gift to the cart from there, the gift-only order is blocked at checkout, but hiding the gift from your storefront listings avoids the confusion.
Steps (recommended)
- In Shopify admin, go to Products and open the gift product.
- Set Status to Unlisted and save.
- Keep Online Store selected under Sales channels (without it, the gift can't be added to the cart).
Unlisted products don't appear in collections, search suggestions, or product recommendations. The product page still opens from its URL. Omake keeps adding unlisted products to the cart as gifts.
Keep it out of the search results page too
Even when unlisted, the product can still show on your store's search results page (the page you get after entering a search term and pressing Enter). To remove it from search results too, mark the product as hidden from search.
- Go to Settings > Custom data > Products and add a metafield definition. Name it something like "Hide from search", set the namespace and key to
seo.hidden, and choose the Integer type. - On the gift product's page, under Metafields, enter
1for "Hide from search" and save.
Omake keeps adding the product to the cart as a gift with this setting. To undo it, clear the value and save.
Other ways
- Exclude the gift from automated collections (such as "All products"). For example, tag the gift product
giftand add the condition "Product tag is not equal to gift" - Don't add the gift product to manual collections
Good to know
- If you set the status to Draft or Archived, the product can't be added to the cart and the gift won't be added. Use Unlisted.
- If you set it back to Active, it appears in collections and search again.