Cart items limit

Is there a way to limit the number of items per purchase in a cart? Not the quantity of an item, but if for example I want to make sure that users purchase a single product every time, can I do that somehow? Thanks!


Here is my public share link: https://preview.webflow.com/preview/copilot-2020?utm_medium=preview_link&utm_source=designer&utm_content=copilot-2020&preview=eadd973b339fe33bee5686a0466ccca4&mode=preview
(how to access public share link)

Hi @Uri,

Yes you can use conditional visibility on the checkout button based on the number of items in your cart.

Please let me know if you have any other questions,

~ Happy Designing ~
Brandon

Hi @QA_Brandon, thanks for the suggestion. But wouldn’t that just limit what the user sees as opposed to what they actually purchase? Also, follow up question, is there a way to create a “billing agreement” with PayPal? If it’s a subscription for example?
Thank you! :slight_smile:

Hi @Uri,

As far as the billing agreement, through PayPal. DO you mean that as you offering a subscription through our e-com (which is not available at the moment) or your actual agreement with PayPal itself?

As for the limit: You could look at it both ways. One it could limit the customer to a certain number that is needed to buy. As for the limit that can be bought, you would have to add in some custom code for that option.

Best Regards,
~ Brandon

Hi @QA_Brandon, great, thanks for the update! I ended up solving it another way…

1 Like

Hi Uri

Can you please share your way ?

Hi Uri, would you be able to share how you managed this?

Hi Brandon,
I’m trying to do almost the same, how can I limit the quantity of the product that the customer can buy? I’m looking to limit a max quantity

Thanks:)

Any update on how to accomplish this?

I’m also looking for a solution to this. Is there a way to limit the cart to just one product item, while still allowing quantity changes? For example, if there are three products-Deep, Standard, and Premium. I want the user to be able to add only one of them to the cart at a time, not multiple.

Hi @Sony_Maharjan.
Josh with Foxy here. If you don’t get what you need with Webflow Ecommerce, you might consider our seamless Webflow integration: https://foxy.io/integrations/webflow

You can limit the cart to just one product per order, while still allowing quantity changes. We integrate with Webflow CMS (no need for Webflow Ecommerce) or you can generate static purchase/subscribe links.

Here to help if you have any questions or need help getting started: hello@foxy.io

Thanks,
Josh