@section('css') @endsection
{{ $product->name }} - @foreach ($product->categories as $key => $categoria) {{ strtoupper($categoria->name) }} @endforeach
@if ($product->sale_price && ($product->sale_price_ini < date("Y-m-d")) && ($product->sale_price_fim >= date("Y-m-d")))
@endif @php $exists = \Storage::disk('public')->exists($product->cover); @endphp @if($exists) cover") }}?w=400&h400" data-zoom="{{ asset("storage/$product->cover") }}?w=600&h=400"> @else cover") }}?w=600" alt="{{ $product->name }}"> @endif
{{ $product->name }}

{!! nl2br($product->description) !!}


@if($product->reference)

Referência {{ $product->reference }}


@endif @if(!is_null($product->attributes->where('default', 1)->first())) @if(!is_null($product->attributes->where('default', 1)->first()->sale_price)) {{ number_format($product->attributes->where('default', 1)->first()->sale_price, 2, ',', '.') }} Promoção @else {{ number_format($product->attributes->where('default', 1)->first()->price, 2, ',', '.') }} @endif @else @if ($product->sale_price && ($product->sale_price_ini < date("Y-m-d")) && ($product->sale_price_fim >= date("Y-m-d"))) Promoção

{{ config('cart.currency_symbol') }} {{ number_format($product->price, 2, ',', '.') }} {{ config('cart.currency_symbol') }} {{ number_format($product->sale_price, 2, ',', '.') }}

@else {{ config('cart.currency_symbol') }} {{ number_format($product->price, 2, ',', '.') }} @endif @endif
@include('layouts.errors-and-messages')
{{ csrf_field() }} @if(isset($productAttributes) && !$productAttributes->isEmpty())

@endif
@if($product->quantity > 0) @else @endif

@include('front.products.product-slide')
@section('js') @endsection