@php $subtotal = Cart::instance('shopping')->subtotal(); $subtotal = str_replace(',', '', $subtotal); $subtotal = str_replace('.00', '', $subtotal); $shipping = Session::get('shipping') ? Session::get('shipping') : 0; @endphp
@foreach (Cart::instance('shopping')->content() as $value)

{{ Str::limit($value->name, 25) }}

@if ($value->options->product_size)

Size: {{ $value->options->product_size }}

@endif @if ($value->options->product_color)

Color: {{ $value->options->product_color }}

@endif {{--

Size: M

--}}

৳ {{ $value->price }}

@endforeach
{{--
--}}
Subtotal ৳ {{ $subtotal }}
Shipping (Inside Dhaka) ৳ {{ $shipping }}
Total Payable ৳ {{ $subtotal + $shipping }}