@php $subtotal = Cart::instance('shopping')->subtotal(); $subtotal=str_replace(',','',$subtotal); $subtotal=str_replace('.00', '',$subtotal); $shipping = Session::get('shipping')?Session::get('shipping'):0; $discount = Session::get('discount')?Session::get('discount'):0; @endphp @foreach(Cart::instance('shopping')->content() as $value) @endforeach @if(Session::get('discount', 0) > 0) @endif
ডিলিট প্রোডাক্ট পরিমাণ মূল্য
{{Str::limit($value->name,20)}} @if($value->options->product_size)

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

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

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

@endif
৳ {{$value->price}}
মোট ৳ {{$subtotal}}
ডেলিভারি চার্জ ৳ {{$shipping}}
কুপন ছাড় ৳ {{ Session::get('discount', 0) }}
সর্বমোট ৳ {{$subtotal+$shipping-Session::get('discount', 0)}}