- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018
09:14 PM
11-19-2018
09:14 PM
How to get RMA item attribute value in magento1?
Hello everyone,
I have created a custom RMA item attribute from magento admin and now i want to fetch its value on frontend for a particular RMA.
for example, as shown in image above Item condition is RMA item attribute. and i want to fetch its value i.e, Damaged.
So, how can i do this? Can anyone suggest me something..?
Magento Developer
Ankita Biswas
Ankita Biswas
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018
10:37 PM
11-19-2018
10:37 PM
Re: How to get RMA item attribute value in magento1?
For Magento 1, I am giving just hint for getting Item Condition value in frontend,
I haven't tried but might be very helpful for you to reach nearer to your solutions,
$rmaId = 10; // pass your rma id $collection = Mage::getResourceModel('enterprise_rma/item')->addAttributeToFilter('rma_entity_id',$rmaId)->addAttributeToSelect(array('reason')); $helper = Mage::helper('enterprise_rma/eav'); $reason = $helper->getAttributeOptionValues('reason'); foreach($collection as $item) { return $reason[$item->getReason()]; }
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2018
12:28 AM
11-20-2018
12:28 AM
Re: How to get RMA item attribute value in magento1?
Hello @Rakesh Jesadiya
Thank you for your response.
I have tried this but it's not working for me.
I am unable to fetch values of Return/Exchange , Reason code, Item condition which are RMA item attributes.
Can you suggest something else?
Magento Developer
Ankita Biswas
Ankita Biswas