What you need for this request is :
– Option ID : it’s an int value of your option
– Le store ID : you need the store ID to retrieve the value by store 😉
$value = Mage::getResourceModel('eav/entity_attribute_option_collection') ->addFieldToFilter('main_table.option_id', array('eq' => $optionId)) ->setStoreFilter($storeId) ->getFirstItem(); $optionText = ''; if($value){ $optionText = $value->getValue(); }
Et voilà ! You’ve got the option value by store 😉
Get attribute option value by store