2013-02-05 2 views

답변

0

나는 그것은 getPdf() α- 함수에 app/code/local/Mage/Sales/Model/Order/Pdf/Shipment.php이 코드를 구현하여 일부 얼마 전에했던 : 내가 도울 수

$total = 0; 
foreach($shipment->getAllItems() as $item) { 
       if ($item->getOrderItem()->getParentItem()) { 
        continue; 
       } 
       if(!$item->getOrderItem()->getData('qty_shipped') >= (float)1.0000) {     
        continue; 
       } 
       $total += ($item->getPrice() - $item->getOrderItem()->getDiscountAmount())*$item->getQty(); 
     } 

희망. 질문에 대한 다음 질문 : 다음에 무언가를 물어보고 커뮤니티가 도움을 줄 것으로 기대하고, 몇 가지 코드 예제를 게시하고, 시도한 것을 설명하고, 실패한 이유와 방법을 설명하고, magento의 코드 구조에서 # 당신의 목표를 달성하려고 노력합니다.

https://magento.stackexchange.com/

: 그런데

는 또한 젠토 - Stackexchange 사이트 거기

관련 문제