Sync after save
This commit is contained in:
parent
5520150133
commit
7643712a52
|
@ -1234,7 +1234,7 @@ class WC_Meta_Box_Product_Data {
|
||||||
if ( 'variable' == $product_type ) {
|
if ( 'variable' == $product_type ) {
|
||||||
// Update parent if variable so price sorting works and stays in sync with the cheapest child
|
// 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( $post_id );
|
||||||
// WC_Product_Variable::sync_stock_status( $post_id );
|
WC_Product_Variable::sync_stock_status( $post_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update version after saving
|
// Update version after saving
|
||||||
|
|
Loading…
Reference in New Issue