Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Option to disable quantity change #55

Open
RakeshPotnuru opened this issue Aug 21, 2024 · 2 comments
Open

[Feature]: Option to disable quantity change #55

RakeshPotnuru opened this issue Aug 21, 2024 · 2 comments
Assignees

Comments

@RakeshPotnuru
Copy link

Tell us about your feature request

Option to disable quantity change

What problem are you looking to solve?

Currently, there's no option to disable customers from changing quantity.

Additional context

Weirdly I found that there's an option called allowQuantity here https://paddle.stoplight.io/docs/reference/5e0171ec215eb-checkout-parameters but it's not

image

How important is this suggestion to you?

Important

@heymcgovern
Copy link

Hey @RakeshPotnuru 👋

Thanks for dropping by with a feature request. The docs you've found are for Paddle Classic, which uses a different version of Paddle.js. Paddle Classic only supports single-product checkouts, and they can't be updated once opened, so the allowQuantity parameter makes sense here.

With Paddle Billing, you can open checkouts for multiple items, and add, remove, and update those items during the checkout process. This adds complexity to implementing a similar parameter in Paddle Billing.

This feedback has come up before, so I chatted with the PM who heads up checkout to let them know it's something you're interested in too. We'd love to hear more about why you're looking to do this and any thoughts on how you see it working — feel free to pop back and let us know, or you can email us directly at [email protected].

In the meantime, here are a few things you can do:

  • If you're opening a checkout for a single item and want to limit customers to a specific quantity, you can set a min and max quantity for the price when creating it. Customers won't be able to use the quantity stepper for that product.
  • You can pass a billed transaction to a checkout, or bill a transaction once it's ready. Billed transactions can't be updated, so customers won’t be able to change the quantity of any items on the checkout.

You can learn more in our docs: Prevent changes to items on a checkout.

-- Michael

@RakeshPotnuru
Copy link
Author

Thanks for letting me know. Yes, setting min and max to the same value works.
Setting quantity for a recurring subscription for a SaaS didn't make sense as it seemed like subscribing to a plan multiple times, that's why I asked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants