wp-e-commerce/WP-e-Commerce — pull request #442 by om4james (2013-05-20 07:14:55+00:00)
Title: Fix: prevent preg_match() warnings from occurring if the products page is a draft

Should fix Issue #441.

If the products page doesn't exist (or is a draft), revert to using /product/xyz/ permalinks for products.