GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-field-quantity.php
Go to the documentation of this file.
1 <?php
2 /**
3  * @file class-gravityview-field-quantity.php
4  * @package GravityView
5  * @subpackage includes\fields
6  * @since 2.17
7  */
8 
9 /**
10  * @since 2.17
11  */
13 
14  var $name = 'quantity';
15 
16  var $is_searchable = true;
17 
18  var $is_numeric = false;
19 
20  var $search_operators = array( 'is', 'isnot', 'greater_than', 'less_than' );
21 
22  var $group = 'product';
23 
24  var $icon = 'dashicons-cart';
25 
26  /** @see GF_Field_Quantity */
27  var $_gf_field_class_name = 'GF_Field_Quantity';
28 
29  public function __construct() {
30  $this->label = esc_html__( 'Quantity', 'gk-gravityview' );
31  $this->description = esc_html__( 'The quantity of a specific product field.', 'gk-gravityview' );
32  parent::__construct();
33  }
34 }
35 
Modify field settings by extending this class.
scale description p description