storefront-configurable-swatch-names

Text-Based Swatches

If there isn’t an image available for a swatch, the attribute value appears as text. A text-based
swatch is like a button with a text label, and behaves in the same way as a swatch with an
image. In the following example, the color swatches are identified with a text label for the color
name, just as the shoe size swatches have a text label for the size. If the size attribute values
were “Small,” “Medium,” and “Large,” rather than numbers, then that text would appear in the
swatches instead.

Leave a Comment

Your email address will not be published. Required fields are marked *