This commit is contained in:
Edward Yang 2022-08-19 15:08:22 +08:00
parent 2ba15ab156
commit bb7ba05f82
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Bootstrap
$shippingValue = plugin_setting('flat_shipping.value', 0);
if ($shippingType == 'fixed') {
return $shippingValue;
} elseif ($shippingType == 'rate') {
} elseif ($shippingType == 'percent') {
return $amount * $shippingValue / 100;
} else {
return 0;