@extends('storefront.layouts.app') @section('title', __('My Cart')) @section('content')

{{ __('My Cart') }}

@if($lines->isEmpty())

{{ __('Your cart is empty.') }}

{{ __('Continue Shopping') }}
@else
@foreach($lines as $line) @endforeach
{{ __('Product') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Subtotal') }}
{{ $line['name'] }} @if($line['variation_label'])
{{ $line['variation_label'] }}
@endif
{{ money($line['unit_price']) }}
@csrf @method('PATCH')
{{ money($line['line_total']) }}
@csrf @method('DELETE')
{{ __('Continue Shopping') }}
{{-- Summary --}}
{{ __('Order Summary') }}
@csrf
{{ __('Subtotal') }}{{ money($subtotal) }}
@if($discount > 0)
{{ __('Discount') }} ({{ $coupon->code }}) × -{{ money($discount) }}
@csrf
@endif
{{ __('Shipping Charge') }}{{ __('Checkout') }}

{{ __('Total') }}{{ money($subtotal - $discount) }}
{{ __('Proceed to Checkout') }}
@endif
@endsection