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

New Member
1 0 0

Hi there. I have requested help from several developers but many are either unable to do it, or charge what I consider high prices for a simple application.

I am basically creating a print-on-demand store with Printful. When adding products from Printful to Shopify, all products and their variants are set to 'Quantity not tracked' - meaning you can sell as many as you want. Here's the catch, I want to set quantity to 1 (or an arbitrary number), whereby I limit the products sold to 1 each, and once sold, all the products are removed automatically.

For example, imagine I am selling a limited edition shirt design to sell max 10 pieces. I want only 10 of such shirts to be sold, regardless of size (S, M, L, XL etc). Therefore, manually setting the quantities is impossible. As such, I am trying to implement a method whereby all products on my store is hardcoded to sell only x times each.


Does anyone have a viable solution to suggest?

Shopify Partner
367 15 51


Sounds like you just need to bundle each variation against the inventory shirt product which all are printed from. Our bundling solution recalculates inventory based on a core item so all your shirts sizes would only show what can be made from an original quantity. This does involve bundling each variation so might not be worthwhile if you have thousands of items as you would need to do it in bulk via a csv which would take time to create.



Bundleup - bundle your products and unbundle your orders.
Channelup is a product data management solution helping Shopify stores automate their processes.
If you require custom development or would like to test out our features contact me at