Hello! So, currently, we have an inventory limit that makes it so we don’t oversell products in our brick and mortar stores when the products goes out of stock online. The way it works is that it will display “out of stock” on the online for product variants under a specific number of inventory we define through metafields, but the brick and mortar stores can still deliver their remaining stock.
Now for the issue I am trying to solve. We are having ads show out of stock online product because they don’t identify when the product variants are all under the inventory limit. Is there a way through liquid code to access admin controls to ‘remove from online store’ through store channels when ALL variants for a product fall under the inventory limit threshold?
Let me know if I can clarify or offer our current code base for the inventory limit! Cheers!