Fix framework as plugin

* Fix framework for WooCommerce; when loading as a plugin the template
include of WooCommerce was applied after the framework, causing an empty
page to be returned