@extends('layouts.app') @section('content') {{ __('cart') }} @if(session('success')) {{ session('success') }} @endif @if(session('error')) {{ session('error') }} @endif @if(empty($cart)) {{ __('cart_empty') }} {{ __('continue_shopping') }} @else @foreach($cart as $key => $item) @if(image_has_webp($item['image'])) @endif {{ $item['name'] }} @if($item['variant_info']) {{ $item['variant_info'] }} @endif {{ number_format($item['price'], 0, ',', ' ') }} AZN @csrf {{ __('update') }} {{ number_format($item['price'] * $item['qty'], 0, ',', ' ') }} AZN @csrf @endforeach @csrf {{ __('clear_cart') }} {{ __('continue_shopping') }} {{ __('order_summary') }} @csrf {{ __('apply') }} {{ __('subtotal') }} {{ number_format($total, 2, ',', ' ') }} AZN @if($discount > 0) {{ __('discount') }} -{{ number_format($discount, 2, ',', ' ') }} AZN @endif {{ __('shipping') }} {{ $shipping > 0 ? number_format($shipping, 2, ',', ' ') . ' AZN' : __('free') }} {{ __('total') }} {{ number_format($finalTotal, 2, ',', ' ') }} AZN {{ __('proceed_to_checkout') }} @endif @endsection
{{ __('cart_empty') }}
{{ $item['variant_info'] }}
{{ number_format($item['price'], 0, ',', ' ') }} AZN
{{ number_format($item['price'] * $item['qty'], 0, ',', ' ') }} AZN