Inventory only links to default SKU

Hello All,

I’ve made an ecommerce website and I’ve set it up to display ‘sold out’ when the stock level reaches zero, but it only seems to work with whatever the default product is. I’m using the conditions visibility bit but there’s only one option for inventory.

For example, most of the products have variations (colour and sizes). The default is medium in black so when that level reaches zero it displays ‘sold out’ but there are still stock in other colours/sizes.

Is there a way it can be set up than it only displays ‘sold out’ when all stock reaches zero?

I have searched the forum (and world wide web) and not found anything to help, but apologies if it’s already been mentioned!