update shipping fee

This commit is contained in:
franknstayn
2022-08-18 20:52:34 +08:00
parent 384cdb1816
commit 8a0e4763be
3 changed files with 4 additions and 4 deletions

View File

@@ -383,7 +383,7 @@ class PaypalController extends Controller
$shippingFee = $CAShippingfee; $shippingFee = $CAShippingfee;
} }
if ($getSubtotal[0]->Subtotal >= 99 && $countryCode != "CA") { if ($getSubtotal[0]->Subtotal >= 149 && $countryCode != "CA") {
return $shippingFee = 0; return $shippingFee = 0;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -359,12 +359,12 @@
</h3> </h3>
@if ($shipping_fee) @if ($shipping_fee)
@if ($getSubtotal >= 1 && $getSubtotal <= 98) @if ($getSubtotal >= 1 && $getSubtotal <= 148)
<div class="border rounded-2 p-2 mt-2"> <div class="border rounded-2 p-2 mt-2">
If you order $99 worth of product you get free shipping (pre tax). You are If you order $149 worth of product you get free shipping (pre tax). You are
<strong> <strong>
<span <span
id="remaining_shippingfee">{{ number_format(99 - $getSubtotal, 2) }}</span> id="remaining_shippingfee">{{ number_format(149 - $getSubtotal, 2) }}</span>
{{ $store_array[0]->StoreCurrency }}</strong> away. {{ $store_array[0]->StoreCurrency }}</strong> away.
</div> </div>
@endif @endif