Undo change
This commit is contained in:
parent
2082d84e4d
commit
fc8100877c
|
@ -287,6 +287,7 @@ class WC_Product_Variation_Data_Store_CPT extends WC_Product_Data_Store_CPT impl
|
|||
'tax_class' => get_post_meta( $product->get_parent_id(), '_tax_class', true ),
|
||||
'shipping_class_id' => absint( current( $this->get_term_ids( $product->get_parent_id(), 'product_shipping_class' ) ) ),
|
||||
'image_id' => get_post_thumbnail_id( $product->get_parent_id() ),
|
||||
'purchase_note' => get_post_meta( $product->get_parent_id(), '_purchase_note', true ),
|
||||
) );
|
||||
|
||||
// Pull data from the parent when there is no user-facing way to set props.
|
||||
|
|
Loading…
Reference in New Issue