@extends('layouts.app') @section('body-class', 'page-cart') @section('content') @hookinsert('cart.top')
@if (session()->has('errors')) @endif @if (session('success')) @endif @if (count($list))
@foreach ($list as $product) @endforeach
@php $selectedItems = array_filter($list, function($item) { return $item['selected'] === true; }); @endphp {{ __('front/cart.product') }} {{ __('front/cart.price') }} {{ __('front/cart.quantity') }} {{ __('front/cart.subtotal') }}
{{ $product['product_name'] }}
{{ $product['sku_code'] }} @if ($product['variant_label']) - {{ $product['variant_label'] }} @endif
{{ $product['price_format'] }}
{{ $product['price_format'] }}
{{ $product['subtotal_format'] }}
{{ __('front/cart.cart_total') }}
  • {{ __('front/cart.selected') }} {{ $total }}
  • {{ __('front/cart.total') }}{{ $amount_format }}
{{ __('front/cart.go_checkout') }}
@else

{{ __('front/cart.empty_cart') }}

{{ __('front/cart.continue') }}
@endif
@hookinsert('cart.bottom') @endsection @include('chat-widget') @push('footer') @endpush