how to add the size option in product card right top bar.

Hi everyone,

I’m working on improving the layout of our product cards on our Shopify store, and I want to add size options to the top right corner of each card.

I’ve implemented a feature that dynamically displays the available size options based on the product variants, ensuring that sizes labeled as “Material” are excluded.

@asisnaira thank you for the promt resposne. If you cloud help me with the line of the code that will be really helpful.