WC_Product::is_sold_individually()
Check if a product is sold individually (no quantities).
Description Description
Return Return
(bool)
Source Source
File: includes/abstracts/abstract-wc-product.php
public function is_sold_individually() { return apply_filters( 'woocommerce_is_sold_individually', true === $this->get_sold_individually(), $this ); }