{{ translate('Customer') }}
@forelse($carts as $key => $cart) @php $stock = $cart->product->stocks->where('variant', $cart->variation)->first(); $availableQty = $stock ? $stock->qty : 0; $isDigital = $cart->product->digital; $maxQtyReached = !$isDigital && $cart->quantity >= $availableQty; @endphp
{{ $cart->product->getTranslation('name') }}
{{ $cart->variation }}
{{--
--}}
{{ single_price(cart_product_price($cart, $cart->product, false, false) * $cart->quantity) }}
@empty

{{ translate('Cart is empty') }}

@endforelse
@if (env('ENABLE_LENSES') == true)
{{ translate('Lens Selection (optional)') }}
{{ single_price(0) }}
@if (isset($lenses)) @foreach ($lenses as $lens)
{{ single_price($lens->getFinalPrice()) }}
@if (!empty($lens->description))
{{ $lens->description }}
@endif @if (!empty($lens->color)) @endif
@endforeach @endif {{--
{{ translate('Lenses Total') }}: {{ single_price(0) }}
--}}
@endif
{{-- Show the lens selected lens price here --}}
{{ translate('Lens') }} {{ single_price(0) }}
{{ translate('Subtotal') }} {{ single_price($totals['subtotal']) }}
{{ translate('Tax') }} {{ single_price($totals['tax']) }}
{{ translate('Discount') }} -{{ single_price($totals['discount']) }}

{{ translate('Grand Total') }} {{ $totals['grand_total_f'] }}