How To: Display the Quantity Box as a Selectbox With Quantity Variants

  1. In the admin panel, go to Products → Products.

  2. Click the name of the product you’d like to edit.

  3. Set the product quantity step in the Quantity step input field under the Pricing/Inventory section.

    For example, if Quantity step is set to 2, then only 2, 4, 6, 8, 10, etc. items will be displayed in the Quantity select box. And if 5 is entered into the In stock input field then only 2 and 4 will be displayed in the Quantity select box.

  4. Specify the number of quantity variants (for example, 4) a customer can choose from in the List quantity count input field.

    For example, you enter 20 into the In stock field, and 2 into the Quantity step field, then only 2, 4, 6, and 8 will be displayed in the Quantity select box.

    Product quantity
  5. Click the Save button.