Product::out_of_stock()

Method: Checks if a product is out of stock. If a variant ID is given and the product uses variant-level inventory tracking, then it will be checked against the specific variant.

Source: src/BigCommerce/Post_Types/Product/Product.php:551

Used by 2 functions | Uses 1 function