All things Shopify and commerce
Hi,
We have a Collection Rule that removes items from the website when the quantity <= 1. This works well, however the rule removes the item from the collection but it is still visible via the Search. Are we able to create a global rule, not based on collections, that will remove the item completely so the item is not visible from the search? Items with quantity of 1 are then sold only through the physical shop.
Hi there!
You will need a developer to filter out your search results if you want this to go automatically. Alternatively, you can create a hidden SEO metafield. By activating the field, the product will be hidden from recommendations and search results.
To do it:
To hide the product from the search or recommendation:
Your product will now not appear in the search results and recommendations. If there are more products that need to be hidden, you can use bulk editing to select more of them. Furthermore, you can also create a hidden inverted collection (that contains all the products that have the quantity <= 1) and filter the products by that section, and then set all of their 'SEO Hidden' fields to '0'.
Hi Tomo,
Thanks for that.
I've added the metafield definition.
Could you explain again how to add the hidden inverted collection for products of 1 or less? Is this a case of bulk selecting all products and then adding the same rule?
Thanks
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024