@section('title', 'سبد خرید | فروشگاه جنیکا') @section('desc', 'سبد خرید فروشگاه جنیکا') @extends('frontend.layout.master') @section('content') @if ($errors->any())
@endif
@if(Session::has('error'))
{{session('error')}}
@endif @if(Session::has('warning'))
{{session('warning')}}
@endif @if(Session::has('success'))
{{session('success')}}
@endif @if (Cart::count() == 0)
سبد خرید شما خالی می باشد
@endif @if (Cart::count() > 0)

سبد خرید

@foreach (Cart::content() as $item)
{{$item->title}}

{{$item->model->title}}

{{($item->options->has('size') ? $item->options->size : '-')}} {{($item->options->has('horuf') ? $item->options->horuf : '-')}} @if($item->options->giftbox == "on") همراه با جعبه کادویی @endif {{number_format($item->total)}} تومان
@csrf
@csrf {{ method_field('DELETE') }}
@endforeach
@foreach (Cart::content() as $item) @endforeach
سبد خرید تعداد قیمت
{{$item->title}}
{{$item->model->title}} {{($item->options->has('size') ? $item->options->size : '-')}} @if($item->options->giftbox == "on") همراه با جعبه کادویی @endif
@csrf
{{number_format($item->total)}} تومان
@csrf {{ method_field('DELETE') }}
@if (! session()->has('coupon_code'))
@csrf
@endif @if (session()->has('coupon_code'))
@csrf {{ method_field('delete') }}
@endif
  • جمع کل {{number_format(Cart::subtotal())}} تومان
  • @if (session()->has('coupon_code'))
  • کد تخفیف {{ session()->get('coupon_title') }} {{ number_format($discountAmount) }} تومان
  • @endif
  • قابل پرداخت {{number_format(Cart::total() - $discountAmount)}} تومان
مرحله بعد
@endif
@endsection