@section('title', 'سبد خرید | فروشگاه جنیکا')
@section('desc', 'سبد خرید فروشگاه جنیکا')
@extends('frontend.layout.master')
@section('content')
@if ($errors->any())
@if(Session::has('error'))
@endif
@if(Session::has('warning'))
@endif
@if(Session::has('success'))
@endif
@if (Cart::count() == 0)
سبد خرید شما خالی می باشد
@endif
@if (Cart::count() > 0)
سبد خرید
@foreach (Cart::content() as $item)
{{($item->options->has('size') ? $item->options->size : '-')}} {{($item->options->has('horuf') ? $item->options->horuf : '-')}} @if($item->options->giftbox == "on") همراه با جعبه کادویی @endif
{{number_format($item->total)}} تومان
@endforeach
| سبد خرید |
تعداد |
قیمت |
|
@foreach (Cart::content() as $item)
{{$item->model->title}}
{{($item->options->has('size') ? $item->options->size : '-')}} @if($item->options->giftbox == "on") همراه با جعبه کادویی @endif
|
|
{{number_format($item->total)}} تومان
|
|
@endforeach
@if (! session()->has('coupon_code'))
@endif
@if (session()->has('coupon_code'))
@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