Basically im trying to set up a Matrix field that also controls stock. The way I’ve got the columns set out is like this…
Colour
Size
Product Code
Stock Level
So the rows essentially look like this:
Colour - Red
Size - Small
Product Code - 95491
Stock Level - 10
Colour - Red
Size - Medium
Product Code - 95492
Stock Level - 5
Colour - Red
Size - Large
Product Code - 95493
Stock Level - 3
But I’m wondering how to make a Matrix row handle stock levels. So if someone orders “Red - Large” it knocks the value from 3, to 2.
I can control the ability to not show that option if it isn’t in stock. I just need to be able to knock the stock level down.
Is this possible?
Im sure I read somewhere on the forum about this, but I can’t seem to find it.
