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
Share on FacebookTweet about this on TwitterShare on Google+Email this to someone
Tagged on:             

Leave a Reply

Your email address will not be published. Required fields are marked *

We use cookies to ensure that we give you the best experience on our website.
Ok