shopplugins/woocommerce-availability-chart

Fix deprecated function get_total_stock()

Opened this issue · 0 comments

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()