I have a product attribute,
Available Sizes in Magento. The input type is
The options for the attribute are
Normally when I call a product attribute on the frontend, I use
With this attribute, when I use
echo $product->getAvailableSizes(); it is giving me the values for the product like
14,13 - I assume these are the IDs of the options, rather than the labels.
I want to print out the options as text rather than IDs.
What I want is something like
Small,Medium. Can I get the attribute in this format without having to resort to if statements like
if value is 13, echo "Small" etc. I want to do something more dynamic than that if possible!
For reference I am working on the
Many thanks. I'm working with EE 22.214.171.124.