@extends('master') @section('main_content') @if (count($cart) != 0) @php $sum = 0; @endphp

Checkout

You currently have {{count($cart)}} item(s) in your basket

Product/Erase
Price
Quantity
Unit Price
@foreach ($cart as $product)
${{$product['price']}}
{{$product['quantity']}}
${{$totle = $product['price'] * $product['quantity'] }}
@php $sum = $sum +$totle; @endphp @endforeach
Total ${{$sum}}
Order Summary

Shipping and additional costs are calculated based on values you have entered

  • Order Subtotal ${{$sum}}
  • Shipping and handling$10.00
  • Tax$0.00
  • Total${{$sum + 10}}
@else

nothing to show get in to the Shop

@endif @endsection