Is there a code for shopify to prevent customer to from buying more than what is available in inventory. I have 2 variants, 2 pendants and 5 necklaces . Once all the pendants are added to cart , I need the add button to display sold out even when there are necklaces left.
My site
https://tigrisjewelryco.com/products/cubic-zirconia-cross-376183305
I only have 2 yellow brass in my inventory, If customer add 2 yellow brass with necklace 14in into cart , I need the add button to gray or or something so they cannot continue to add 2 yellow brass with necklace 16in.