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.
Merge pull request #837 from wahmwebs/patch-1

Update loop-shop.php