magento get data by attribute 通过属性获取实例
piaoling 2011-06-14 15:52:51
$orderId = Mage::getModel('sales/order')->loadByAttribute('entity_id',$orderEntity)->getData('increment_id');
$payment = Mage::getModel('sales/order_payment')->load($order->getId(), 'parent_id');
发表评论(评论将通过邮件发给作者):