Magento 2 Quantity Dropdown

Magento 2 Quantity Dropdown lets you enable quantity dropdown list for customers to select the quantity of items instead of quantity input box to set minimum purchase or to restrict bulk purchase due to limited stock.


Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Product Specific Dropdown Settings
  4. Quantity Dropdown in Frontend


  1. Extension Installation
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy -f
    • php bin/magento cache:flush
  • That’s it.


  1. Configuration
    To configure the extension, log in to Magento 2 backend, move to Stores > Configuration > Quantity Dropdown where you can find various settings to configure the extension.
  • Quantity Dropdown: Enable the extension from here.
  • Dropdown Type: Select the dropdown type.
  • Max Quantity Value: Set quantity value to show maximum product quantity in the dropdown for increment type.
  • Custom Value: Add comma separated custom product quantity values for custom value dropdown type.
  • Show Price in Dropdown: Select how you want to show product prices in the dropdown.
  • Hide Quantity Value Which is Larger Than Stock Quantity: Select how to show quantity when the value is larger than stock.


  1. Product Specific Quantity Dropdown Settings
    Follow the below steps to configure specific settings for each or some products in the store.
  • Quantity Dropdown Type: Set the quantity dropdown type particularly for the selected product.
  • Custom Value: Set the custom value if the quantity dropdown type is set to custom value.


  1. Quantity Dropdown in Frontend
    Once the extension is configured, the Quantity Dropdown is seen enabled on the product pages.
  • Quantity Dropdown Increment Value Type
    As per the general configuration, The increment value type quantity dropdown is enabled on the product page.


  • Quantity Dropdown Custom Value Type
    As we have set custom value type dropdown for this particular product, it overrides the general configuration for it and shows dropdown accordingly.