How to set and limit quantity of all products to X automatically?

Still trying to find a solution, reached out to various Freelancers, but they were not able to solve the issue as the stock on Shopify comes from Printful, and there seems to be no way to manually set it. If in the meanwhile you have found a solution, do please let me know.