I am adding some products for inventory purposes but I don’t want them to be able to be individually bought, nor show up on the product pages. How can I hide these? I read that metafields can be used but I tried that and they were still showing up with I viewed ALL product.
Yes we can use metafields to create options to control its visibility but to make it work in real time we need to customize the theme code.
a) exclude the product from the collection loop and search page.
b) redirect the product page to homepage or somewhere else if someone reaches there or we can hide their atc button depending on the metafield selection.
Hello @hope3
Which product do you want to hide? Do you want to hide only the Add to Cart button, or do you want the product to be completely invisible on the site?