If no image, show no product: shopify
I think this one is pretty easy but cannot quite wrap my head around it. Pretty straight forward command, since I am working with no completed database I'd like to show products only if they have at least one image associated with them.
Shortly, I'd need something like: if product doesn't have an image, then hide product. How would I go about this on Shopify? Many thanks
There is no straight forward way to hide it using the settings. However since Shopify is extensible product. You can write your own plug-in to hide.
Another simple way is it to export your products as CSV. Open it in Excel and set the Hidden column's value based on the Image column's value, such that if Image column is blank Hidden column's value is true. You can use a formula for that.
Once done save the CSV and import it back in to your Shopify.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.