Commit Graph

11 Commits

Author SHA1 Message Date
Mike Jolley 0405fabf69 Alt changes from .14 2013-09-04 17:22:35 +01:00
Mike Jolley d021980c10 Rather than have hooks *everywhere* use a single set stock function in admin and on the frontend Closes #3593 2013-08-13 16:56:09 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
thenbrent 3ce6f3012d Set default $product_id on variable_product_sync() 2013-08-01 17:54:24 -07:00
thenbrent 825587da6a Backward compatible variable_product_sync()
Adds new static sync() method to WC_Product_Variable and restores
variable_product_sync() to its former, non-static glory. Also makes
the $product_id param optional on variable_product_sync() to avoid
breaking backward compatibility.
2013-08-01 17:35:54 -07:00
Mike Jolley 63b203955b Fix syncing and make variable_product_sync static for admin use. Closes #3450 2013-07-30 12:15:09 +01:00
Kathy Darling f743018ea1 add action woocommerce_variable_product_sync to variable sync 2013-07-26 11:59:34 -04:00
Mike Jolley 805a9e617c Use get_price and introduce get_regular and get_sale_price methods. Closes #3427 2013-07-23 11:29:04 +01:00
Mike Jolley f8f3f8a660 Fix sale expiration for variations. Closes #3321.
@coenjacobs might be useful for .13
2013-06-28 09:58:07 +01:00
Mike Jolley 2a6bae4e0a Change is_visible for variations to make method calls cleaner. 2013-06-14 12:21:38 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00