Automattic\WooCommerce\Blocks\BlockTypes\AddToCartWithOptions
GroupedProductItemSelector::set_quantity_input_type
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() GroupedProductItemSelector::set quantity input type code WC 10.3.6
public function set_quantity_input_type() {
return 'number';
}