@php use App\AttributeSet; use App\Attribute; use App\Brand; use App\Review; use App\Cart; use App\Shipping; use App\City; use App\Product; use App\ProductImage; $cities = City::orderBy('priority', 'asc')->get(); $shippingcharge = Shipping::find(1); $carts = new Cart; $carts = $carts->carts(); $carts = Session::get('product'); @endphp @extends('frontend.layouts.home') @extends('frontend.layouts.reviewstyle') @section('content')
@if(Session::has('product'))
@csrf @endif
Shipping Cart
Quantity
Price
    @if(Session::has('product')) @php if (Session::has('product')) { $cart_counts = count($carts['id']); $total_products =0; }else { $cart_counts = 0; } @endphp @for($i = 0; $i < $cart_counts; $i++) @php $total_products += $carts['quantity'][$i]; @endphp @endfor @php $total_pcire = 0; @endphp @for($i = 0; $i < $cart_counts; $i++) @php $total_pcire += $carts['price'][$i]+Session::get('shipping'); $product = Product::find($carts['id'][$i]); $product_image = ProductImage::where('product_id',$carts['id'][$i])->first(); @endphp
  • {{ $product->title }}

    @if(isset($carts['attribute_options'][$i])) @php $attribute_options = $carts['attribute_options'][$i]; $attribute_options = unserialize($attribute_options); @endphp @foreach($attribute_options as $option) {{$option }} @endforeach @endif

    @if(Session::has('shipping')) Shipping Cost: {{Session::get('shipping')}} @endif

    Tk. {{ $carts['price'][$i] }}
  • @endfor @endif
    @if(Session::has('product')) @else There is no product in cart. @endif
@if(Session::has('product') && Session::has('city'))
payment-thumb
Payment Methoads

Please select the preferred payment method to use on this order.

@if(Auth::guard('web')->check())
Shipping Informations
@elseif(Auth::guard('vendor')->check())
Shipping Informations
@else
Shipping Informations
@endif
@endif
@endsection