Well I have this code here and I am adding it to my list.phtml
file to try and get the attribute text for each product to display:
<?php echo $_product->getAttributeText('mileage') ?>
This code works with any attribute that has a Catalog Input Type for Store Owner
value of dropdown
however it does not display for attributes with the value of Text Field
.
Any idea why this might be happening?
I have the setting Used in Product Listing
enabled for both attributes.
Thanks
Best Answer
Make sure Visible on Product View Page on Front-end and Used in Product Listing options under properties of this attribute are set to Yes.