두 개의 동일한 확장자가 있지만 둘 다 다른 용도로 사용됩니다.2 개의 마젠타 색 확장자가 충돌합니다
확장의 Config.xml
<config>
<modules>
<Mageworks_Fee>
<version>0.1.5</version>
</Mageworks_Fee>
</modules>
<global>
<sales>
<quote>
<totals>
<fee>
<class>fee/sales_quote_address_total_fee</class>
<renderer>fee/checkout_totals_fee</renderer>
<admin_renderer>fee/adminhtml_sales_order_create_totals_fee</admin_renderer>
</fee>
</totals>
</quote>
<order_invoice>
<totals>
<fee>
<class>fee/sales_order_total_invoice_fee</class>
</fee>
</totals>
</order_invoice>
<order_creditmemo>
<totals>
<fee>
<class>fee/sales_order_total_creditmemo_fee</class>
</fee>
</totals>
</order_creditmemo>
</sales>
</global>
</config>
확장 B의 Config.xml 모두 총 금액 충돌하는
<config>
<modules>
<Mageworks_Insurance>
<version>0.1.5</version>
</Mageworks_Insurance>
</modules>
<global>
<sales>
<quote>
<totals>
<insurance>
<class>insurance/sales_quote_address_total_insurance</class>
<before>fee</before>
<renderer>insurance/checkout_totals_insurance</renderer>
<admin_renderer>insurance/adminhtml_sales_order_create_totals_insurance</admin_renderer>
</insurance>
</totals>
</quote>
<order_invoice>
<totals>
<insurance>
<class>insurance/sales_order_total_invoice_insurance</class>
</insurance>
</totals>
</order_invoice>
<order_creditmemo>
<totals>
<insurance>
<class>insurance/sales_order_total_creditmemo_insurance</class>
</insurance>
</totals>
</order_creditmemo>
</sales>
</global>
</config>
을, 나는이 문제를 해결할 수있는 방법을 도와주세요.
두 모듈의 가격이 어떻게 달라지는 지, 보험료 및 총액 계산 방법 등을 설명 할 수 있습니까? –
http://excellencemagentoblog.com/magento-add-fee-discount-order-total 및이 확장의 다른 복사본을 만들었습니다.이 질문의 문제를 참조하십시오 .... http : //stackoverflow.com/questions/26100747/tax-calculation- is-wrong-in-magento –
이 두 모듈이 모두 활성화되어있을 때 Grand Total 계산 오류가 있습니다. 구체적으로 Grand Total에 세금이 추가되지 않았습니다. –