added shipping fee voucher code

This commit is contained in:
franknstayn
2022-02-26 20:20:43 +08:00
parent c15e614c3e
commit b25f55dbdd
5 changed files with 48 additions and 8 deletions

View File

@@ -349,7 +349,7 @@
<small>{{ number_format($tax['order_grandtotal'], 2) . ' ' . $store_array[0]->StoreCurrency }}</small>
</h5>
<h5>Shipping Fee:
<small>{{ number_format($shipping_fee, 2) . ' ' . $store_array[0]->StoreCurrency }}</small>
<small> <span id="shippingFee">{{ number_format($shipping_fee, 2) }}</span> {{ $store_array[0]->StoreCurrency }}</small>
</h5>
<h5>Tax:
<small>{{ number_format($tax['tax'], 2) . ' ' . $store_array[0]->StoreCurrency }}</small>

View File

@@ -471,6 +471,7 @@
form.validate().resetForm();
form[0].reset();
$('#my_subtotal').text(response.subtotal);
$('#shippingFee').text(response.shippingFee);
} else {
$("#error_voucher").html(response.message).fadeIn().delay(5000).fadeOut('slow',