REDDIT 原始帖子
Inventory Being a weight instead of individual items
I sell tea on my site, and I offer a few different sizes of packaging (10g, 30g, 50g). The problem is that I have to set my inventory for each size. This causes a number of problems as its not a clear reflection of what I have in stock. Is there a way I can…
I sell tea on my site, and I offer a few different sizes of packaging (10g, 30g, 50g). The problem is that I have to set my inventory for each size. This causes a number of problems as its not a clear reflection of what I have in stock. Is there a way I can set my inventory as something like 4 lbs and have each option take away from that 4 lbs.
已收录讨论
This will depend a bit on whether you sell subscriptions, because this might not work with subscriptions. The best way to do it, is to have one product that is set up that represents all of your stock of something. Your inventory is measured in grams, not quantity. So a quantity of 10 is 10g, a quantity of 346 is 346g. Then you create bundles which use a certain number of that product. So a 10g pack becomes a bundle that consists of 10 of your 1g product. A 30g pack is a bundle that has 30 quantity of your 1g product. If you do subscriptions then you can still do something similar to this, but instead of using bundles you have to set up your 10g, 30g, etc packs as separate products and then use Shopify Flow to manage your inventory levels post-purchase (and deal with refunds/cancelled orders).
This is a fairly creative but solid solution! Didn't think of that right away. Not sure I like it more than having inventory = unit of measure but the bundle part makes things fairly easy, it does create a lot of extra work though.
This is basically the only way to do it short of managing it off platform and doing some kind of sync with said platform. Way more complicated. It isn't really any more work than a normal option set. You only need 1 hidden listing to contain all the products that have a weight. I did this with a launch recently where the hidden listing had over 50 items. This listing can stay in draft status. These variants are added to the main listing as addons. You can add them to multiple listings if you wanted but they will all draw from the same variant you chose in the bundling app.
Not natively as far as I have found, there are a few apps that can do it, Material Manager being one. I’m not affiliated with them, I’m just in the same seat but for liquids.
FWIW, the cleanest way is to treat the bulk tea as the stock item and make each pack size pull from that same pool. The annoying part is ops discipline: make sure packing waste, refunds, and manual adjustments also hit that same base inventory, or the number drifts fast.
Just do inventory = your unit of measure. Then let people put in qty and add to basket. If you want to limit the qty to your premade sizes, a few liquid lines will allow you to have "variants" which set the quantity according to whatever is selected. A few extra lines will ensure the user can't edit the quantity on the product page. You can also calculate a price based on the unit of measure so you have your 10g/30g/50g presented with a price as well, while also displaying a per unit price (if you want that). Depending on what theme you are in it's a 1-2h job with Codex or Claude Code by your side.
this sounds more like shared inventory / component inventory than a normal stock alert problem. i’d be careful with separate variants unless they all deduct from the same underlying tea stock, otherwise your numbers will always drift. bundles or a base “1g” inventory item can work, but test refunds, subscriptions, and partial cancellations before trusting it fully.
The bundle approach works but the ops discipline is the hard part. Every refund, every packing error, every manual adjustment has to hit the same base inventory or the number drifts. Test that before you rely on it. The simpler mental model: treat your bulk tea as the stock unit, measured in grams. A 10g pack deducts 10, a 30g pack deducts 30. Bundles or a component inventory app make that deduction automatic at purchase. If you sell subscriptions, the bundle path gets complicated fast. In that case you are probably looking at Shopify Flow to handle post-purchase inventory adjustments instead. This article covers the workaround options for weight-based selling in more detail: How to Sell Products in Decimal Quantities on Shopify.
This is a classic Shopify inventory headache. The platform tracks discrete units, not bulk materials, so you have to get a bit creative. The others are on the right track with the bundling idea. The cleanest way to handle this is to think in terms of 'recipes'. First, create a new, non-visible product in your admin. Call it something like 'Bulk Tea Stock (Internal)'. Create one variant for it, perhaps called '1g Unit'. If you have 4lbs of tea, you'll need to convert that to grams (about 1814g), so you set the inventory for this '1g Unit' variant to 1814. Next, you need an app that can create product bundles or kits. With that, your public-facing '10g Tea Bag' product becomes a 'bundle' that is made up of 10 units of your internal '1g Unit' variant. When someone buys the 10g bag, the app automatically tells Shopify to reduce the inventory of the internal product by 10. This keeps your true bulk stock accurate. Just remember to manually adjust the 'Bulk Tea Stock' inventory for any wastage or samples. It's a bit of a faff to set up, but once it's running, it works well.