read_product_data() protected method

Read product data. Can be overridden by child classes to load other props.
Since: 2.7.0
protected read_product_data ( &$product )
 /**
  * Read product data.
  *
  * @since 2.7.0
  */
 protected function read_product_data(&$product)
 {
     parent::read_product_data($product);
     $this->read_children($product);
     // Set directly since individual data needs changed at the WC_Product_Variation level -- these datasets just pull.
     $this->read_price_data($product);
     $this->read_price_data($product, true);
     $this->read_variation_attributes($product);
 }