Not showing product variant in shopify when quantity is zero

One of my product’s size is now 0 and it is not showing on the website. i want it to be shown with a cross or grayed out.

Help me. Below is my website address

www.keenuz.com

Hi
Hope you’re well.

You can use Back in stock apps. They show a button named “notify me when
product is available” and your customers can click that button to be
notified when you supply them instead of not seeing the sold out variant.
Bestpush (https://apps.shopify.com/bestpush) is one of the best back in
stock apps in the market.

Hope you find it helpful

Hey ahsanumer

You can use following for show Out of stock Variant as grayed out.

https://shopify.dev/tutorials/customize-theme-hide-variants-that-are-sold-out#to-gray-out-the-variants-that-are-sold-out

The tutorial is a pretty straightforward one, but let us know if you need some help :).

Chintan

Which option should I use. I try using sectioned provided details because there are files in the Sectioned Folder. It is no working.

Which code should i use?

you have to use second Option - Disable sold-out variants