7 Steps to Implementing Automation
7 Steps to Implementing Automation
Find Products with No Images
You can find the collection for below code.
$_products = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToSelect('*') ->addAttributeToFilter(array( array ( 'attribute' => 'image', 'like' => 'no_selection' ), array ( 'attribute' => 'image', // null fields 'null' => true ), array ( 'attribute' => 'image', // empty, but not null 'eq' => '' ), array ( 'attribute' => 'image', // check for information that doesn't conform to Magento's formatting 'nlike' => '%/%/%' ), ));
you can got all product list which has no Images assign.
You must be logged in to post a comment.