Missing images in Magento

    I just imported a ton of products for new website that I’m working on, and it turns out that the client misnamed a bunch of images, causing Magento to ignore the image import for those ones.

    I don’t want to scour through the website and the CSV (and the client wouldn’t want to pay us to do that either), so I figured if I could just come up with a list of SKUs for products missing an image, I could hand it off to them so they could correct everything. This isn’t foolproof, but it does the job. This query will give you a list of SKUs where there is no record in the database for that product’s ‘image’ attribute (the main large product image).

    SELECT `sku` FROM `catalog_product_entity` AS a LEFT JOIN `catalog_product_entity_varchar` AS b ON a.entity_id = b.entity_id AND b.attribute_id = 74 WHERE b.entity_id IS NULL

    More in this category: Images & SEO »

    Twitter Tweets

    Just launched Landmark Athletics' new website with @zebramats -- check out the site here http://t.co/vPmnoMeM
    Thursday, 03 May 2012 13:45
    story from @Magento - A Magical Transformation for Dan and Dave http://t.co/OCOE6QFu #magento - limited only by your imagination #possible
    Thursday, 19 April 2012 15:07
    congrats to our team on a successful launch for @Quest_Chat! http://t.co/XwdaVGjo, and Landmark Athletics coming soon...
    Wednesday, 18 April 2012 18:34
    had a powerful meeting with a new client this morning, and led a smooth training session this afternoon - what will the evening bring?
    Wednesday, 04 April 2012 20:14

    Contact MakeGoodMedia

    • (416) 621-1290
    • info@makegoodmedia.ca
    • 82 Enderby Rd. Toronto, ON Canada
    • Join Toronto Web Developers on Twitter
    • Toronto Web Developers Make in Facebook
    • Get the latest from Joomla and Magento Experts Feed
    • Magento developers
    • Joomla and Magento developers