Timeline for Get product attribute 'option label'?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 27, 2018 at 5:37 | comment | added | Fra | this sound very strange to me, I test it when I have some time and updated the answer if required, thanks | |
Mar 23, 2018 at 14:14 | comment | added | Haijerome | setData doesn't work , whereas setAttributeCode works , atleast in my case ...(verified with older 1.6.1.x version and in the recent 1.9.3.x. version), though the difference is not visible. | |
Mar 23, 2018 at 13:35 | history | edited | Fra | CC BY-SA 3.0 |
added 19 characters in body
|
Mar 23, 2018 at 13:33 | comment | added | Fra | I don't see the difference in the code you posted. setYourAttributeCode($value) or setData($attribute_code, value) is the same ( credit to varien team :) | |
Mar 23, 2018 at 11:25 | comment | added | Haijerome | Regarding Method2 , it should be $_product = Mage::getModel('catalog/product')->setStoreId($storeId)->setYourAttributeCode($yourAttributeOptionId); $productOptionLabel = $_product->getAttributeText($yourAtrributeCode); Credits to @Marius - magento.stackexchange.com/a/8396/695 | |
Apr 13, 2017 at 12:54 | history | edited | CommunityBot |
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
|
|
S Oct 20, 2016 at 14:46 | history | suggested | Akif | CC BY-SA 3.0 |
Changed bug in example
|
Oct 20, 2016 at 13:55 | review | Suggested edits | |||
S Oct 20, 2016 at 14:46 | |||||
Dec 19, 2013 at 17:04 | history | edited | Fra | CC BY-SA 3.0 |
added 438 characters in body
|
Oct 22, 2013 at 9:45 | vote | accept | Fra | ||
Apr 17, 2013 at 11:50 | history | answered | Fra | CC BY-SA 3.0 |