WC_Product::set_sold_individually( bool $sold_individually )

Set if should be sold individually.

Description Description

Parameters Parameters


(Required) Whether or not product is sold individually.

Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

	public function set_sold_individually( $sold_individually ) {
		$this->set_prop( 'sold_individually', wc_string_to_bool( $sold_individually ) );

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.