How can I find all all child (simple) products that are not visible individually without parent (configurable) products set/linked
. these products are not logical as they can never be sold.
I am struggling with this query, however it is not for all to use (attribute id may be different) and I am uncertain if the result is the true answer to my question
Select e.entity_id,e.type_id,e.sku,e.created_at,visib.value FROM catalog_product_entity as e LEFT JOIN catalog_product_entity_int AS visib ON (visib.entity_id = e.entity_id) AND (visib.attribute_id = '95') AND (visib.store_id = 0) WHERE (IF(visib.value_id > 0, 1, 0)) AND e.entity_id not in (SELECT product_id FROM `catalog_product_super_link`) and type_id='simple' and visib.value = 0