Bulk_Variations implements Registerable, Standard_Service
Handles the Bulk Variations integration.
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- add_product_options() : string
- Add the product options after the Bulk Variations table ouput.
- get_totals_container_html() : string
- Retrives the totals HTML for the supplied product
- register() : mixed
- {@inheritdoc}
Methods
add_product_options()
Add the product options after the Bulk Variations table ouput.
public
add_product_options(int $product_id) : string
Parameters
- $product_id : int
Tags
Return values
string —get_totals_container_html()
Retrives the totals HTML for the supplied product
public
static get_totals_container_html(WC_Product $product) : string
Parameters
- $product : WC_Product
Tags
Return values
string —register()
{@inheritdoc}
public
register() : mixed