Automattic\WooCommerce\Blocks\BlockTypes\AddToCartWithOptions

GroupedProductItemSelector::set_quantity_input_typepublicWC 1.0

Set the quantity input type to number.

Method of the class: GroupedProductItemSelector{}

No Hooks.

Returns

String. The quantity input type.

Usage

$GroupedProductItemSelector = new GroupedProductItemSelector();
$GroupedProductItemSelector->set_quantity_input_type();

GroupedProductItemSelector::set_quantity_input_type() code WC 10.3.6

public function set_quantity_input_type() {
	return 'number';
}