@extends('web.layouts.container') @section('content')
{{-- --}} @if(count($guestCart['products'])) @foreach($guestCart['products'] as $id_color => $product) {{-- --}} @endforeach @else @endif {{-- --}} {{-- --}} {{-- --}}
{{__('products.products')}} ({{count($guestCart['products'])}}) {{__('products.colors')}}{{__('products.details')}}{{__('products.quantity')}} {{__('products.total_price')}}
{{$product['name']}}
{{$product['description']}}
{{$product['amount']}}
@if($product['discount']) {{-- {{__('products.sar')}} {{$product['prc']}}--}}
{{__('products.sar')}} {{$product['amount']*$product['price']}}
@else
{{__('products.sar')}} {{$product['amount']*$product['prc']}}
@endif {{-- @if($product['discount'])--}} {{-- - {{round((($product['prc']-$product['discount'])*100)/$product['prc'])}} %--}} {{-- @endif--}}
{{__('products.no_products')}} {{__('products.products')}}
{{__('products.no_products')}}--}} {{-- {{__('products.products')}}--}} {{--
{{__('products.swipe_to_see_more')}}
@if(count($guestCart['products'])) @foreach($guestCart['products'] as $id_color => $product)

{{__('products.product_name')}}

{{$product['name']}}

{{__('products.colors')}}

{{--
--}} {{--
--}} {{--

{{__('products.details')}}

--}} {{--
--}} {{--
--}} {{--

{{$product['description']}}

--}} {{--
--}} {{--
--}}

{{__('products.quantity')}}

{{$product['amount']}}

{{__('products.total_price')}}

@if($product['discount']) {{-- {{__('products.sar')}} {{$product['prc']}}--}}
{{__('products.sar')}} {{$product['amount']*$product['price']}}
@else
{{__('products.sar')}} {{$product['amount']*$product['prc']}}
@endif {{-- @if($product['discount'])--}} {{-- - {{round((($product['prc']-$product['discount'])*100)/$product['prc'])}} %--}} {{-- @endif--}}

{{__('products.delete')}}

@endforeach
{{__('products.no_products')}} {{__('products.products')}}
@else
{{__('products.no_products')}} {{__('products.products')}}
@endif
@endsection @section('inner_js') @endsection