Commit Graph

7 Commits

Author SHA1 Message Date
Matt eddbf11e13 ucfirst() on the $product_type when instantiating WC_Product_x 2012-11-27 10:31:07 -05:00
Mike Jolley ddbfd2bd28 Factory tweak 2012-11-26 13:39:12 +00:00
Coen Jacobs fccbb18fb4 Check for empty terms array before current(). Closes #1807 2012-11-23 13:39:01 +01:00
Coen Jacobs 554c73f05b Fixed missing $args attribute in class construction 2012-11-22 15:13:34 +01:00
Coen Jacobs 85f55e5ee8 Set the product type to 'variation' if post type is like that
Because variation post types do not have a product type
2012-11-22 13:56:52 +01:00
Coen Jacobs 098e2d5d4d Reinstated post_type to be used as a class parameter 2012-11-22 12:40:42 +01:00
Coen Jacobs b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01:00