I have a situation where a type of product (fabric) has variations of sizes (odd things like Fat Quarters), but this means that the stock of each variation is linked to the others. So you might have 20 Fat Quarters, which would be 10 Half Metres. The problem is that setting stock like this means you could oversell as you don't have both.
I've been writing a plugin to try and override the stock and base it on the parent. Everything else about the variable/variation product I'd like to be the same.
Is there a way to achieve this functionality? I've seen a price calculator plugin that goes some way towards it, but I need to use these specific names as they're industry terms. Any help would be greatly appreciated as I'm at a bit of a loss!