@if (Session::has('admin_cart')) @php $cart = Session::get('admin_cart'); @endphp
@include('alerts.admin.form-success')
@foreach($cart->items as $key1 => $product) @endforeach
{{ __('Product ID#') }} {{ __('Product Title') }} {{ __('Price') }} {{ __('Details') }} {{ __('Subtotal') }} {{ __('Action') }}
{{ $product['item']['id'] }}
{{mb_strlen($product['item']['name'],'utf-8') > 30 ? mb_substr($product['item']['name'],0,30,'utf-8').'...' : $product['item']['name']}}
{{ App\Models\Product::convertPrice($product['item_price']) }} @if($product['size'])

{{ __('Size') }} : {{str_replace('-',' ',$product['size'])}}

@endif @if($product['color'])

{{ __('color') }} :

@endif

{{ __('Qty') }} : {{$product['qty']}} {{ $product['item']['measure'] }}

@if(!empty($product['keys'])) @foreach( array_combine(explode(',', $product['keys']), explode(',', $product['values'])) as $key => $value)

{{ ucwords(str_replace('_', ' ', $key)) }} : {{ $value }}

@endforeach @endif

{{ App\Models\Product::convertPrice($product['price']) }}

@if ($product['discount'] != 0) {{$product['discount']}} %{{__('off')}} @endif
{{ __('Remove') }}
@endif