How to make the text strikethrough for the sold out products

Highlighted
Tourist
5 0 1

i have diferrent sizes of one product. with the instruction below i disabled sold-out variants. The variants are still displayed on the product page, but they can't be selected. Can someone please  help me how to make the disabled variants in strikethrough text.

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

my theme is DEBUT; my site

https://alphasport-pro.myshopify.com/admin/themes/114674761920/editor

Thank you

0 Likes