Out-of-stock whenever one variant size of a profuct sold

Dear Experts,
I have a design clothe shopify, quantity of each item of my store is only 1.

However, i have to display size from S to XXL for client to choose, so sometimes my client chose M the other size still shown as available. Is it any app, solution, or code, that the “out of stock” sign can appear whenever 1 item is sold regardless size?

Hope to have your help from all shopify experts soon.

Regards,

@Tuanc ,

You can achieve this in multiple ways

  1. ) Doing code customization and using line-item properties to display the sizes instead of using options. So basically you will have size information for fulfillment purpose but you won’t track inventory separately as you are using the same base product

2.) Use inventory app which links and sync inventory