WooCommerce Code Reference

WC_Product_Variable_Data_Store_Interface

WC Product Variable Data Store Interface

Functions that must be defined by product variable store classes.

Tags
version
3.0.0

Table of Contents

child_has_dimensions()  : bool
Does a child have dimensions set?
child_has_weight()  : bool
Does a child have a weight set?
child_is_in_stock()  : bool
Is a child in stock?
delete_variations()  : mixed
Delete variations of a product.
sync_managed_variation_stock_status()  : mixed
Stock managed at the parent level - update children being managed by this product.
sync_price()  : mixed
Sync variable product prices with children.
sync_variation_names()  : mixed
Syncs all variation names if the parent name is changed.
untrash_variations()  : mixed
Untrash variations.

Methods