Open giacmir opened 6 years ago
Hello
I Solve this issue :
1- please go to
msp/cashondelivery/Block/Sales/Cashondelivery.php
change line 48 ` - to +
From
'value' => $source->getBaseMspCodAmount() - $source->getBaseMspCodTaxAmount(),
To
'value' => $source->getBaseMspCodAmount() + $source->getBaseMspCodTaxAmount(),
this it will fix the price on order page and mail.
To Get Base price with tax Tax in customer order page 'value' => $source->getBaseMspCodAmount() + $source->getBaseMspCodTaxAmount(),
To Get Base price without tax in customer order page 'value' => $source->getBaseMspCodAmount() , `*** 2- Show price with tax or without tax in checkout page
go to
msp/cashondelivery/Model/Total/Quote/Cashondelivery.php
Change in line 100 from From : without tax 'value' => $total->getBaseMspCodAmount() , To: with tax 'value' => $total->getBaseMspCodAmount() + $total->getBaseMspCodTaxAmount(),
Abdullah Almohammad
From @zenomordiante on February 26, 2018 9:21
ON it4mage page we can not open Issue.
Preconditions
Steps to reproduce
Expected result
Actual result
CHECKOUT IS OK
SALES MAIL IS WRONG
BACKEND AREA ORDER IS WRONG
TOTALS IS OK
_Copied from original issue: magespecialist/m2-MSPCashOnDelivery#58