Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Retrieve a custom eav value
 
t2nd
Jr. Member
 
Total Posts:  15
Joined:  2008-05-28
Roubaix, France
 

Hello,
i would like to retrieve the value of a custom eav attributes.
I created it in admin panel to a configurable product and simple products.

We want to check the eav value in an inherited class of Mage_Shipping_Model_Carrier_Abstract (so we want to check this eav attribute on one product in process shipment and in “collectrates” function).

How to retrieve the eav value without do that kind of thing :
$temp = $request->getAllItems();
$temp = $temp[0];
$temp = $temp->getQuote();
$temp = $temp->getItemsCollection();
.....

Any idea ?

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top