Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Last active December 16, 2015 18:29
Show Gist options
  • Save amacgregor/5477962 to your computer and use it in GitHub Desktop.
Save amacgregor/5477962 to your computer and use it in GitHub Desktop.
Errata 001 Fixed
<?php
$productCollection->addAttributeToFilter('small_image',array('notnull'=>'','neq'=>'no_selection'))
->addAttributeToFilter('thumbnail', array('notnull'=>'','neq'=>'no_selection'))
->addAttributeToFilter('image', array('notnull'=>'','neq'=>'no_selection'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment