You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you get the wrong price at order page base price - tax price go to "1- Fix Order price".
if you have an issue in checkout to show cod price with tax go to "2- Show price with a tax or without tax in the checkout page "
1- Fix Order price
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 a tax or without tax in the 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
The text was updated successfully, but these errors were encountered:
Hello
If you get the wrong price at order page base price - tax price go to "1- Fix Order price".
if you have an issue in checkout to show cod price with tax go to "2- Show price with a tax or without tax in the checkout page "
1- Fix Order price
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 a tax or without tax in the 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
The text was updated successfully, but these errors were encountered: