2012-03-16 106 views

回答

23
<?php 
require_once("app/Mage.php"); 
$app = Mage::app(''); 

$salesModel=Mage::getModel("sales/order"); 
$salesCollection = $salesModel->getCollection(); 
foreach($salesCollection as $order) 
{ 
    $orderId= $order->getIncrementId(); 
    echo $orderId; 
} 
?> 
+1

1+好的答案。 – 2013-03-14 13:55:47

+0

好夥伴! – 2013-05-09 05:59:22

相關問題