@extends('frontend.layout.master') @section('title', $pageTitle) @section('content') Checkout @if(Session::has('toast')) {{ Session::get('toast')['message'] }} @endif Account & Billing Details @csrf Full name: * @if ($errors->has('name')) {{ $errors->first('name') }} @endif E-mail: * @if ($errors->has('email')) {{ $errors->first('email') }} @endif Telephone: * @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Company: @if ($errors->has('company')) {{ $errors->first('company') }} @endif Address : * @if ($errors->has('address')) {{ $errors->first('address') }} @endif Country: * @if ($errors->has('country')) {{ $errors->first('country') }} @endif State: * @if ($errors->has('state')) {{ $errors->first('state') }} @endif City: * @if ($errors->has('city')) {{ $errors->first('city') }} @endif Post Code @if ($errors->has('zip')) {{ $errors->first('zip') }} @endif Order Summary @php $total = 0 @endphp @if(session('cart') && count(session('cart')) > 0) Image Product Quantity Price Total @foreach(session('cart') as $id => $details) @php $total += $details['price'] * $details['quantity'] @endphp {{ $details['name'] }} {{ $details['quantity'] }} ₹ {{ $details['price'] }} ₹ {{ $details['price'] * $details['quantity'] }} @endforeach Total ₹ {{ $total }} @else Your cart is empty. @endif @endsection
Account & Billing Details
Order Summary
Image
Product
Quantity
Price
Total
{{ $details['name'] }}
{{ $details['quantity'] }}
₹ {{ $details['price'] }}
₹ {{ $details['price'] * $details['quantity'] }}
₹ {{ $total }}
Your cart is empty.