Shopping Cart
| Image |
Product Name |
{{-- Model | --}}
Quantity |
Unit Price |
Total |
@php
$total = 0;
@endphp
{{-- @dd($cart) --}}
@foreach ($cart as $row)
@php
$total += $row->price * $row->qty;
@endphp
|
{{ $row->name }}
|
{{-- {{ $row->product_code }} | --}}
|
{{ number_format($row->price) }}৳ |
{{ number_format($row->price * $row->qty) }}৳ |
@endforeach
| Sub-Total: |
{{ number_format($total) }}৳ |
| Discount: |
@php
$coupon = Session::get('coupon');
$discount = isset($coupon['discount']) ? number_format($coupon['discount']) : 0;
@endphp
{{ $discount }}৳ |
| Total: |
@php
$subtotal = isset($coupon['discount']) ? number_format(Cart::Subtotal() - $coupon['discount']) : number_format(Cart::Subtotal());
@endphp
{{ $subtotal }} ৳ |
What would you like to do next?
Choose if you have a discount code or reward points you want to use or would like to estimate your
delivery
cost.