• Member for 7 years, 8 months
  • Last seen more than 2 years ago
Get Option Value by Id of Attribute in Magento
16 votes

$productModel = Mage::getModel('catalog/product'); $str_attr_label = "color"; //or "size", etc... $int_attr_id = 8; // or any given id. $int_attr_value = 21; // or any given attribute value id. // ...

View answer
How to change the Admin session time in Magento?
2 votes

System -> Configuration -> General -> Web -> Session Cookie management Cookie Lifetime: Change this value (i.e.: 86400).

View answer
Block is repeated while creating a new layout update handler
0 votes

Make sure you're using the same block name value on the layout which is updating the original <block name="" />

View answer