我已配置Magento PDF invoices
,並且我在PDF文檔底部的總計部分存在問題。Magento PDF發票 - 總計的順序
其顯示如下:
1.小計
2.航運稅收
3.產品稅
4.稅收總
5.運輸成本
6.總計
是否有在小計下方顯示運費的方式..?
有沒有一種方法可以影響Magento PDF invoices
到.xml layout files/phtml files
?
我知道abstract
和invoice.php
,但它似乎是不可能解決這個問題有..提前
謝謝..
這是除了「航運」這是沒有在這裏定義的一切工作。一個不同的方法,將照顧所有總數,增加類似於 '$ totals ['subtotal'] ['sort_order'] = 100;' '$ totals ['discount'] ['sort_order'] = 200 ;' '$ totals ['shipping'] ['sort_order'] = 300;' '$ totals ['tax'] ['sort_order'] = 500;' '$ totals ['grand_total'] ['sort_order '] = 700;' 後 '$總計=法師:: getConfig() - > getNode(' 全局/ PDF /總計) - > asArray();' 在 '應用\代碼\當地\法師\銷售\型號\訂單\ PDF閱讀器\ Abstract.php' – loeffel 2014-02-12 14:31:32