We have several multi-pack kits that are 1 each of several products. I have created these products using inventory variants (there are no attributes as the customer does not get to choose what's in the kit). When I add the kit to my cart it successfully deducts each product's inventory count. The issue is I cannot figure out how to hide the product add to cart if any one of the products are out of stock. I can do this at the single product level, but not when using variants.
I have code around the add to cart for single products that works fine, but cannot figure out how to do this in inventory variants case.
I hope this makes sense, and thanks for any help.
I have code around the add to cart for single products that works fine, but cannot figure out how to do this in inventory variants case.
I hope this makes sense, and thanks for any help.
Comment