This commit is contained in:
rahul shukla 2020-02-17 17:59:15 +05:30
parent 171341884b
commit 3c94cdf100
1 changed files with 7 additions and 0 deletions

View File

@ -754,6 +754,13 @@ class Cart {
$item->tax_amount = ($item->total * $rate->tax_rate) / 100;
$item->base_tax_amount = ($item->base_total * $rate->tax_rate) / 100;
$item->save();
break;
} else {
$item->tax_percent = 0;
$item->tax_amount = 0;
$item->base_tax_amount = 0;
$item->save();
break;
}