• Resolved lightindustrial13

    (@lightindustrial13)


    Hello,

    I’d like to add a free gift to a product, but I would like the gift to not be visible on the shop page – so you cannot view or buy it separately, it is only available when you buy a specific product.

    Is this possible?

    Trying out with test products on the following page:

    https://l-13.org/shop/

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DecomTeam

    (@decomteam)

    To be sure it is only a gift, select Product data: Gift

    You can hide it from shop page (also you should exclude it from search page),
    there is a small snippet on WooCommerce Documentation site to exclude category from shop page

    For search, you can take a look at filter pre_get_posts, link to WordPress Codex

    [ Signature deleted ]

    • This reply was modified 6 years, 12 months ago by Jan Dembowski.
    Thread Starter lightindustrial13

    (@lightindustrial13)

    Thanks – product data helped.

    Hiding the gift on the shop page using the category meant I had to assign it a category, which then appears on my menus.

    So I will stick with it being visible but customers can’t purchase it.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Giftable product from shop’ is closed to new replies.