Size Variant Preview & Sold Out Coding in Collection Pages

New Member
2 0 0


I am trying to figure out the proper coding to show SIZE of products while you're on the collection page. Also would like them to be "crossed" out when an item is sold out. 

Can someone advise the coding on this. I have been reading multiple forums and have tried lots of coding, however cannot figure out how to code them to be crossed out when the item size is sold out! 


Thank you,