PHP Class WC_Product_Grouped_Data_Store_CPT

Author: WooThemes
Inheritance: extends WC_Product_Data_Store_CPT, implements WC_Object_Data_Store_Interface
Show file Open project: woocommerce/woocommerce

Public Methods

Method Description
sync_price ( WC_Product | integer &$product ) Sync grouped product prices with children.

Protected Methods

Method Description
update_post_meta ( &$product ) Helper method that updates all the post meta for a grouped product.

Method Details

sync_price() public method

Sync grouped product prices with children.
Since: 2.7.0
public sync_price ( WC_Product | integer &$product )
$product WC_Product | integer

update_post_meta() protected method

Helper method that updates all the post meta for a grouped product.
Since: 2.7.0
protected update_post_meta ( &$product )