Hiding products if they do not have an image - CODING

Hello,

I have over 300,00 products ready to be imported but some do not have pictures associated with the listing. I do not want to manually hide the products as that takes time. I want to see if there is a code I can install into my Empire theme that will hide the product if it does not meet the 1 picture or more requirement.

Hello @Selvence ,

You can use liquid programming for this on your product template page. If you have no idea. Hire any Shopify expert.

Hello @Selvence

This is possible with code:

{%- if product.images != blank -%}

{%- endif -%}

But when displayed in collection page, it may cause pagination error. Because the collection always shows all the products in it, Shopify doesn’t allow to edit it with pagination.

Hope it clear to you.

Imported how? CSV?