Hi,
I don’t know what the proper name or terms are for what I’m looking for are, so it’ll be easier to give an example. I can’t believe I’m saying this, but I welcome individuals or companies that have a solution they want to pitch.
My store inventory stands at -
100 - Cable
10 - Connector-A
15 - Connector-B
We want to create a product called “5 connector cable” which is 6 of Cable, 5 of Connector-A. When shown and presented to the customer, we want this to appear as a single, standalone product with its own page, pricing, etc. At the current time, inventory should show that we can have 2 of those in stock.
We want another product called “3 connector cable” which is 4 of Cable, 1 of Connector-A, 2 of Connector-B. At this time, inventory should show we have 7 of them.
Someone puts “5 connector cable” in their cart. I’d like to be able to have a 15 minute timer that they either need to buy or the order becomes invalid in some way. I realize this is a bad practice (Someone could DOS our shop by constantly putting every item in a cart meaning no one else sees it.) and I’m open to suggestions, but you’ll see why. While it’s in the cart, the “uncommitted” inventory looks like -
94 - Cable
5 - Connector-A
15 - Connector-B
1 - 5 connector cable
5 - 3 connector cable
They check out and actual inventory remains at the numbers above.
Another customer comes along and puts 92 cable in their cart. The same timer (or something else) should begin. The uncommitted inventory will now look like -
2 - Cable
5 - Connector-A
15 - Connector-B
0 - 5 connector cable
0 - 3 connector cable
Someone ELSE comes along at the same time and puts 14 Connector-B in their cart. Same timer starts. The uncommitted inventory is
2 - Cable
5 - Connector-A
1 - Connector-B
0 - 5 connector cable
0 - 3 connector cable
15 minutes later, the timer on the 92 cable times out, and uncommitted inventory is now
94 - Cable
5 - Connector-A
11 - Connector-B
0 - 5 connector cable
0 - 3 connector cable
The 2nd person decides they meant only 4, not 14, and update their cart so uncommitted inventory goes to
94 - Cable
5 - Connector-A
11 - Connector-B
1 - 5 connector cable
5 - 3 connector cable
They check out, and the inventory remains at those numbers.
Hopefully, this isn’t too confusing. If there is a different way, method, etc I’m all for it. But the two major things are
-
3 and 5 connector cables need to be treated as their own product, and the customer shouldn’t see its made from other inventory parts
-
When an item is in a cart, it “reserves” it for a period of time so that I can’t sell what I don’t have.
Thanks!