Magento 1.9 – Display Color Names of Configurable Swatches on Product View Page

configurable-productmagento-1.9product-viewswatches

I hope someone can help,

I have Configurable Swatches working on my site, Magento 1.9.

Some of my customers are confused by the fact that the name of the colour swatch only appears when they hover over the swatch.

I would like to put the name of each colour swatch beneath the swatch.

Can anyone point me in the right direction to add this?

Thanks

Best Answer

You will find the template of the colour swatch for the product view page in :

template/configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml

And in this template, you can access the label (name) of the options with :

$_option->label;

You can then display it as you like.

Related Topic