Bulk_Variations implements Registerable
Integrates with the Bulk Variations plugin.
Tags
Interfaces, Classes and Traits
- Registerable
Table of Contents
- register() : mixed
- render_discounts_list() : void
- Render the discount and bulk table for the product in the grid.
Methods
register()
    public
                register() : mixed
    
    
    
    Tags
Return values
mixed —render_discounts_list()
Render the discount and bulk table for the product in the grid.
    public
                render_discounts_list(int $product_id, Grid $grid) : void
        But only if the discount is set to display before the add to cart form.
Parameters
- $product_id : int
- 
                    The product ID. 
- $grid : Grid
- 
                    The grid object.