Hi @Pheini If you need a consult on any of the below or to have it setup you may contact me, contact info in signature; please provide context: post url, store url, theme, further problem details,etc.
Appless - If there aren’t a lot of items and it’s single location use the bulk editor in the inventory screen to decrement every products inventory with an adjustment.
https://shopify.com/admin/products/inventory
Either select all products, or use a search filter, then click “update quantities” you can either set all items inventories to a specific number of adjust every items current amount by another amount.
See Figure 1
Shopify-flow app - for eligible stores , setup a workflow that updates the value of a shop metafield to substract(minus filter ) the variants quantity when any inventory changes . Then make a theme customization to hide/not-render the stores buy buttons when that metafields value meets a condition .
You will need to also update that metafields value daily either manually or with another shopify-flow workflow.
See Figure 2.
Automation apps:
https://apps.shopify.com/mechanic has some sync scripts ready to go for some scenarios , or it can be scripted to fit exact needs.
If your not using skus just give all pies the same sku and use the following script with inventory control turned on and disable “continue selling when sold out”
https://tasks.mechanic.dev/sync-inventory-for-shared-skus ’
Also see
https://tasks.mechanic.dev/?q=daily
https://tasks.mechanic.dev/accept-a-maximum-number-of-orders-per-day
https://tasks.mechanic.dev/reset-inventory-levels-daily
Good hunting.
Figure 1. adjusting inventory of all selected productVariants by one.
Figure 2. shopify-flow app inventory quantity changed trigger updating a shop.metafields.sales.daily_limit integer to a variants quantity. Does not have example of subtraction.