He wanted to show a 'No image available' image when a product didn't have an image.
He's using an old shop plugin for Genoa, and most of the stuff posted above wasn't going to work.
Because he manually needed to add images to every product anyway, I suggested he could just as well manually add a 'No image available' image to products that didn't have their own image.