-
- t2nd

-
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.
|