Bulk_Variations implements Registerable, Standard_Service

Handles the Bulk Variations integration.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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}
remove_attribute_option_fields()  : bool
Removes the attribute option fields from the Bulk Variations table products.

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
Tags
Return values
mixed

remove_attribute_option_fields()

Removes the attribute option fields from the Bulk Variations table products.

public remove_attribute_option_fields(bool $display, Abstract_Field $field) : bool
Parameters
$display : bool
$field : Abstract_Field
Tags
Return values
bool

Search results