Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $itemId = $item->getId();
  2. $storeId = $item->getStoreId();
  3. $product = Mage::getModel('catalog/product')->load($itemId);
  4. $attribute_code = 'fileupload_isi_select';
  5.  
  6.  
  7. echo $product->getFileupload_isi_select() . '1';
  8. echo $product->getAttributeText($attribute_code) . '2';
  9. echo $product->getResource()->getAttribute($attribute_code)->getFrontend()->getValue($product) . '3';
  10. echo Mage::getResourceModel('catalog/product')->getAttributeRawValue($itemId, $attribute_code, $storeId) . '4';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement