Magento News
Magento: How to get the creditmemo by order item quote id
Hi,
i have a increment id of a magento order and a quote id of a order item (i do not mean the order item id) and i want to the all creditmemos that contains a corresponding creditmemo item for that order item.
If i use the creditmemo model in magento i can use getOrderItem() to get the order item and on that i can use getOrder() to get the order. But the order model in magento do not have a getCreditmemoItems().
Is there a better way instead of iterating over getCreditmemosCollection() of the order and over each creditmemo item?
Magento: How to get the creditmemo by order item quote id
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed