Sync after save

This commit is contained in:
Mike Jolley 2015-08-29 13:45:54 +01:00
parent 5520150133
commit 7643712a52
1 changed files with 1 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ class WC_Meta_Box_Product_Data {
if ( 'variable' == $product_type ) {
// Update parent if variable so price sorting works and stays in sync with the cheapest child
WC_Product_Variable::sync( $post_id );
// WC_Product_Variable::sync_stock_status( $post_id );
WC_Product_Variable::sync_stock_status( $post_id );
}
// Update version after saving