Page breaks if no shop page option set
-
Hi,
I’m working on a site that doesn’t have a traditional shop page, so in the WooCommerce -> Settings -> Products -> Display, we set “Shop Page” to empty.
This means the option “woocommerce_shop_page_id” isn’t a valid page. The result is that this plugin loads the “archive-product.php” template for all regular pages, which results in a blank page.
We’ve just assigned an unused page to be the “shop” to avoid this issue, but maybe you could add a check to the next version to only apply the template if appropriate.
Cheers!
(Otherwise: love your work!)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Page breaks if no shop page option set’ is closed to new replies.