Skip to content

Magento 2 : How to get swatch attribute label

I have an attribute “brand” with type Swatch.

I have created many brands as an option in this attribute.

I want to filter brands label which are starts with a particular letter (ex. A or B or C).