PHP Class WC_Product_Grouped_Data_Store_CPT

Author: WooThemes
Inheritance: extends WC_Product_Data_Store_CPT, implements WC_Object_Data_Store_Interface
Afficher le fichier Open project: woocommerce/woocommerce

Méthodes publiques

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

Méthodes protégées

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

Method Details

sync_price() public méthode

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 méthode

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