Update loop-shop.php

Only start output buffering if there are products to list - with the iThemes Builder theme, if there are no products, an error occurs when displaying the page.