woothemes/woocommerce — pull request #793 by curtismchale (2012-03-12 17:25:52+00:00)
Title: Fixes debug output when no products in the store

Closes issue 792. We check to make sure that we have an object and then that the $shop_page_content has some content in it so that we bypass all debug notices.

https://github.com/woothemes/woocommerce/issues/792