Remove Size Variant If No Size Available - Brooklyn Theme

19 0 5

Help Needed Please.

I am on Brooklyn theme and whenever I show products that have Size Variant with 'no sizes' to display there is a 'size NOSIZE' that shows.

Screenshot below.

Screenshot 2021-02-09 at 19.11.50.png


I would like to see if there is a way I can make sure that the size variant not show if there is no size option available?

Is this possible at all?

I had someone help me and provide some code... which worked to some extent but it ended up removing the Size Variant when 'NOSIZE' was showing and also removed the colour variant when only 1 colour was available.

I would like to see if there is a way that it can be isolated to just hide the Size when the available option of sizes is less than 1.

Thanks in advance for the help, if anyone can offer any?