3

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

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.