Revision: 45114
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 25, 2011 04:55 by neofreko
Initial Code
$quotes= Mage::getResourceModel('sales/order_collection') ->join('order_item', 'entity_id=order_id') ->addFieldToFilter('main_table.store_id', array('eq' => 5)) ->addFieldToFilter('order_item.product_id', array('eq' => $argv[1])) ;
Initial URL
Initial Description
List all orders related to a product id
Initial Title
Get product order history
Initial Tags
magento
Initial Language
PHP