- About 1/4 of our products have no attributes.
- Half of what remain have a single attribute (such as color or size, with red, green, blue, yellow and white // small, medium, large, extra large)
- The remaining have two attributes (such as color AND size)
- For a small but notable number of products, red and green are only available in medium and large sizes.
- We have two products with three attributes (color, size and flavor). We've divided them into chocolate xxx and vanilla xxx as two separate parent items, each with color and size as attributes. Mucking about with managing two-tier attributes is enough fun without three tiers
We want to show all combinations of attributes (even those without stock), but prevent out-of-stock combinations to be added to the cart. About half of what is out of stock can be replenished, the other half can't (or won't). We will remove combinations that we won't replenish, but want them to display at least up to the last sale. We won't always know that we have the last three of the large green gadget until we try to order more.
- Until we sell the last large green gadget, we want it to display and be "addable" to the cart. No brainer, not a problem
- Once we sell the last large green gadget, we want that option to show up in the selections, but not be "addable," here being the crux of the issue because if it is a good seller, we'll try to get more. Preferably, the dropdown will show an out of stock notice when it's chosen as well as prevent adding to the cart and not take the customer off of the gadget page to tell them it wasn't added to the cart. Since a large number of our products are consumables, they'll gladly buy two of the 10ml bottles instead of one 30ml bottle. We want to make sure that the customer sees the large version is an option, just not at this moment.
- If we try to get more large green gadgets and find out that they aren't produced anymore, we'll remove that option from SBA
I have tried quite a few plugins related to selecting attributes over the last 6 months. I know that at least one of them used a Java array with the current inventory for each option and combination. For the dropdowns, the customer had to select the first option first (which showed current inventory for all "large" and all "small" items). The second dropdown updated with the number of "large green" and "large red" or "small green" and "small red". The Java checked the current stock from the array when the "add to cart" button was pushed and prevented the call going forward.
It seems clear that this isn't the plugin that had that feature. Our management didn't want us to show the stock on hand, so I thought I turned that off. From your questions, it appears that I selected SBA instead of that one.
I'm poking around the code to trace where the option lists are populated to determine if I can recreate the Java stock tracking.
Bookmarks