@section('css') @endsection
@if ($product->sale_price && ($product->sale_price_ini < date("Y-m-d")) && ($product->sale_price_fim >= date("Y-m-d")))
@endif @if(isset($product->cover)) cover") }}?w=400&h400" data-zoom="{{ asset("storage/$product->cover") }}?w=600&h=400"> @else cover") }}?w=600" alt="{{ $product->name }}"> @endif
{{ $product->name }}
SKU: {{ $product->sku }} @if($product->reference) Referência: {{ $product->reference }}@endif

{!! $product->description !!}


@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())
    @foreach($productAttributes as $productAttribute) @foreach($productAttribute->attributesValues as $value) @if($value->attribute->name === 'Cor')
  • @endif @endforeach @endforeach

@endif quantity === '0') readonly @endif />

@section('js') @endsection