@extends('frontend.layouts.default') @php $page_title = $taxonomy->title ?? ($page->title ?? ($page->name ?? '')); $image_background = $taxonomy->json_params->image_background ?? ($web_information->image->background_breadcrumbs ?? ''); @endphp @section('content') {{-- Print all content by [module - route - page] without blocks content at here --}}

{{ $page_title }}

@if (session('cart')) @php $total = 0 @endphp @foreach (session('cart') as $id => $details) @php $total += $details['price'] * $details['quantity']; $alias_detail = Str::slug($details['title']); $url_link = route('frontend.cms.product', ['alias_category' => 'chi-tiet', 'alias_detail' => $alias_detail]) . '.html?id=' . $id; @endphp @endforeach
    @lang('Product') @lang('Price') @lang('Quantity') @lang('Total')
{{ $details['title'] }} {{ $details['title'] }} {{ isset($details['price']) && $details['price'] > 0 ? number_format($details['price']) : __('Contact') }}
{{ number_format($details['price'] * $details['quantity']) }}
{{ number_format($total) }}

@lang('Submit Order Cart')

@csrf
@else
@lang('Warning!') @lang('Cart is empty!')
@endif
{{-- End content --}} @endsection