Variable Quantity is an add-on for the free Stripe Checkout plugin that can be used to add a quantity field to your Stripe payment buttons. This lets buyers specify the quantity of an item they want to purchase.

How Variable Quantity with Stripe Works
When a Stripe payment button is rendered on the front end with variable quantity enabled, a quantity input field will appear that will let buyers set the number of items they want to purchase.

The default label for the quantity field (Quantity) can be customized in the add-on settings (Stripe Checkout > Variable Quantity).

How to Enable Variable Quantity (Option 1)
You can enable variable quantity in the product interface of the Stripe Checkout plugin.

Once you have created a new product or edited an existing one with this option enabled, add the shortcode for it to a post/page.
[wp_stripe_checkout id="1"]
Replace the value of id with your product ID.
Optionally you can also set a minimum or maximum quantity limit for the product.
How to Enable Variable Quantity (Option 2)
If you are using the “wp_stripe_checkout_session” shortcode in the Stripe Checkout plugin, you can change it to the following to enable variable quantity.
[wp_stripe_checkout_session name="My Product" price="2.99" quantity=""]
Leaving the quantity parameter empty implies that you wish to let buyers set the quantity for this item.
If you wish to apply a minimum quantity limit, you can do so by using the min_qty parameter in the shortcode.
[wp_stripe_checkout_session name="My Product" price="2.99" quantity="" min_qty="3"]
A maximum quantity limit can also be applied using the max_qty parameter in the shortcode.
[wp_stripe_checkout_session name="My Product" price="2.99" quantity="" max_qty="5"]
You can use the parameters together to create a range of valid values.
[wp_stripe_checkout_session name="My Product" price="2.99" quantity="" min_qty="3" max_qty="5"]
How to Enable Variable Quantity (Option 3)
If you are using the “wp_stripe_checkout_v3” shortcode in the Stripe Checkout plugin, you can change it to the following to enable variable quantity.
[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" quantity=""]
Optionally you can set a minimum quantity limit by using the min_qty parameter in the shortcode.
[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" quantity="" min_qty="3"]
A maximum quantity limit can also be applied using the max_qty parameter in the shortcode.
[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" quantity="" max_qty="5"]
The parameters can be used together to create a range of allowed values.
[wp_stripe_checkout_v3 price="price_UY9NozbEy7T3PUlk" quantity="" min_qty="3" max_qty="5"]
Will my customers be able to check out with a single item?
@Charles, Yes.