@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
ডিলিট প্রোডাক্ট পরিমাণ মূল্য
{{Str::limit($value->name,20)}} @php $product = App\Models\Product::find($value->id); @endphp @if($product && ($product->sizes->isNotEmpty() || $product->colors->isNotEmpty()))
@if($product->sizes->isNotEmpty())
@endif @if($product->colors->isNotEmpty())
@endif
@endif
{{$value->price}}
মোট {{$subtotal}}
ডেলিভারি চার্জ {{$shipping}}
সর্বমোট {{$subtotal+$shipping}}