parent
62bcca6cce
commit
f1d718d38a
|
@ -281,7 +281,7 @@ class WC_Product_Variation_Data_Store_CPT extends WC_Product_Data_Store_CPT impl
|
|||
'sku' => get_post_meta( $product->get_parent_id(), '_sku', true ),
|
||||
'manage_stock' => get_post_meta( $product->get_parent_id(), '_manage_stock', true ),
|
||||
'backorders' => get_post_meta( $product->get_parent_id(), '_backorders', true ),
|
||||
'stock_quantity' => get_post_meta( $product->get_parent_id(), '_stock', true ),
|
||||
'stock_quantity' => wc_stock_amount( get_post_meta( $product->get_parent_id(), '_stock', true ) ),
|
||||
'weight' => get_post_meta( $product->get_parent_id(), '_weight', true ),
|
||||
'length' => get_post_meta( $product->get_parent_id(), '_length', true ),
|
||||
'width' => get_post_meta( $product->get_parent_id(), '_width', true ),
|
||||
|
|
Loading…
Reference in New Issue