Hide image gallery in Woocommerce if NO image [closed]

WooCommerce adds classes to indicate when a product has a thumbnail specified, so you can address this with CSS.

.product .images { display: none; } /* hide images div by default */
.product.has-post-thumbnail .images { display: block; } /* show images div when thumbnail is present */