Variation_Table implements Registerable, Service
This class handles our bulk variations table on the product page.
Tags
Interfaces, Classes and Traits
- Registerable
- Service
Table of Contents
- hook_into_summary_actions() : mixed
- print_table_on_blocks() : mixed
- Print variations grid table to the block theme by replacing the add to cart form content
- print_variation_table() : mixed
- register() : mixed
- remove_product_fields() : mixed
Methods
hook_into_summary_actions()
public
static hook_into_summary_actions() : mixed
Return values
mixed —print_table_on_blocks()
Print variations grid table to the block theme by replacing the add to cart form content
public
static print_table_on_blocks(mixed $block_content, mixed $block) : mixed
Parameters
- $block_content : mixed
-
Expected block content
- $block : mixed
-
Information about the block
Return values
mixed —print_variation_table()
public
static print_variation_table() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —remove_product_fields()
public
static remove_product_fields() : mixed