@extends('layouts.front.app') @section('og') @endsection @section('css') @endsection @section('content') @include(config('site.domain').'.front.shared.modal-product-details')
@if(!$cartItems->isEmpty())

Meus Produtos

@if (auth()->check()) @else Finalizar @endif
@foreach($cartItems as $cartItem) @if ($cartItem->product->count() % 2 === 0) @else @endif @endforeach

Produto

Preço

Quantidade

SubTotal

@if(isset($cartItem->cover)) @if(config('app.env') === 'production') {{ $cartItem->name }} @else {{ $cartItem->name }} @endif @else {{ $cartItem->name }} @endif

{{ $cartItem->name }}

@php $description = str_ireplace(['
', '
', '
'], "\r\n", $cartItem->description); @endphp @if($cartItem->options->combination) @foreach($cartItem->options->combination as $combination) Tamanho: {{ $combination['value'] }} @endforeach @endif {{-- $description --}}

{{ config('cart.currency_symbol') }} {{ number_format($cartItem->price, 2, ',', '.') }} {{--
{{ csrf_field() }}
--}}
{{ csrf_field() }}
{{ config('cart.currency_symbol') }} {{ number_format($cartItem->subtotal, 2, ',', '.') }}
{{ csrf_field() }}
Continuar Comprando @if (auth()->check()) @else Finalizar @endif
@if($cartItem->product->subgrupo) @php $itemWebSg = \App\ItemWebSg::where('id_subgrupo', $cartItem->product->subgrupo->id_subgrupo)->first(); $products = $itemWebSg->products; $count = 0; @endphp @if ($products)

Aproveite e compre também:

@include(config('site.domain').'.front.products.product-list', ['produtos' => $products]) @endif @endif @else @endif
@if(config('site.ativa_newsletter')) @include(config('site.domain').'.front.shared.newsletter') @endif @endsection