Skip to content

Fix deprecated function get_total_stock() #16

@growdev

Description

@growdev

get_total_stock() is deprecated in WC 3.0.

Instead they suggest to loop through all children and use get_stock_quantity() on the children.
Will need to refactor WooCommerce_Availability_Chart::availability_chart()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions