Magento 주문 객체가 주어지면 해당 주문과 관련된 추적 번호를 어떻게 찾을 수 있습니까?주문 객체의 Magento 추적 번호
$order = Mage::getModel('sales/order')->loadByIncrementId(100000064);
$shipmentCollection = Mage::getResourceModel('sales/order_shipment_collection')
->setOrderFilter($order)
->load();
foreach ($shipmentCollection as $shipment){
// This will give me the shipment IncrementId, but not the actual tracking information.
$shipment->getData();
}
http://stackoverflow.com/questions/3155671/magento-cronjob-outside-magento-to-update-shipment-status합니다. – B00MER
이것에 대한 인터넷 검색을 도와 준 답변 : http://stackoverflow.com/questions/9433627/ –