@extends('layouts.app') @section('title') {{ $Product->name }} @endsection @push('meta') @endpush @section('content')
  {{ strtoupper($Product->shop->name) }}

{{ ucfirst($Product->name) }}

{{--

Shirts

--}}

@if ($Product->children->count() == 1) $@convert($Product->children->first()->price) @elseif($Product->children->count() > 1) $@convert($Product->children->first()->price) - $@convert($Product->children()->orderBy('price', 'desc')->first()->price) @else $@convert($Product->price) @endif @if ($Product->discount_price > 0) @if (!is_null($Product->header) || $Product->children->count() <= 1) $@convert($Product->discount_price) @endif @endif
No incluye IVA

{{ $Product->short_detail }}

@if($Product->children->count() > 0 || (!is_null($Product->header) && $Product->header->children->count() > 0))
@foreach(($Product->children->count() > 0?$Product->children()->where('active', true)->get():$Product->header->children->where('active', true)) as $child) @if($child->inStock()) {{----}} @else {{----}} @endif @endforeach @endif
{{--
@csrf--}} @if(!$Product->is_catalog) @if ($Product->stock > 0)
@if($Product->children->count() <= 0) @endif
{{--{{$Product->stock}} en stock--}}
@if($Product->buy_one_click) {{ $Product->getLabelBuyButton() }} @else @if($Product->children->count()<=0) @else

Debe escoger una opción

@endif @endif @if(count($errors) > 0) @foreach($errors->all() as $error)
{{ $error }}
@endforeach @endif @else Agotado @endif @endif {{--
--}}
id}/detail") }}'); return false;" target="popup" href="https://www.facebook.com"> id}/detail") }}'); return false;" target="popup" href="https://twitter.com">  short_detail . " " . url("/product/{$Product->id}/detail") }}" data-action="share/whatsapp/share">
@if ($Product->is_catalog) VER CATALOGO @if ($Product->shop->long_detail)
{!! $Product->shop->long_detail !!}
@endif
@endif {!! $Product->raw !!}
{!! $Product->long_detail !!}
@if($RandomProducts->count() > 0)

Más artículos de {{ $Product->shop->name }}

@foreach($RandomProducts as $RandomProduct) @endforeach
@endif
@endsection