I'm wanting to build a new e-commerce store that allows people to buy together to a particular quantity but I'm not sure how to write the code. I would like it if I could write some code that would make it so the sale only goes through if a particular (e.g. 100) number of people purchase a product.
For example, say I have a supplier that will only give me a deal on 100 teddy bears (for example) but I don't have the capital to buy 100 teddy's outright then sell them. So, I find 100 customers FIRST then the deal goes through. Is there someone who can help me with the code that would make the shopping cart register this/make this happen?
Thank you!