@include('website.layouts.new.head') @include('website.layouts.new.header')
@include('partials.breadcrumb')
{{--
--}}
@foreach ($details['registros_fotos'] as $index => $foto)
Foto grande {{ $foto['posicion'] }}
@endforeach
@if ($details['condicion'] == 'REFURBISHED')
THIS PRODUCT MAY SHOW SLIGHT SIGNS OF USE VARIATIONS IN PACKAGING AND ACCESSORIES.
@endif

{{ ($details['marca'] ?? '') . ' ' . ($details['nombre'] ?? '') }}

PARTNUMBER: {{ $details['part_number'] }}
@if (session('usuario_autenticado'))
${{ $details['precio'] }}
@else
To view prices you must be registered as a customer, please click on the following link:
Sign Up.
@endif
DESCRIPTION: {{ $details['desc'] }}
    {{-- @foreach ($details['registros_caracteristicas'] as $carac) @if ($carac['caracteristica'] == 'Brand')
  • Brand: {{ $carac['valor'] }}
  • @elseif ($carac['caracteristica'] == 'Display Size')
  • Display Size: {{ $carac['valor'] }}
  • @elseif ($carac['caracteristica'] == 'Color')
  • Color: {{ $carac['valor'] }}
  • @endif @endforeach --}}
@if ($details['es_b2b'] === 'SI') AVAILABLE: @else IN STOCK: @endif @if ($details['existencias'] == 0 && $details['en_transito'] == 0) OUT STOCK @php $out_stock = true; @endphp @else @if ($details['en_transito'] != 0 && $details['existencias'] == 0) Stock in transit @else @if ($details['existencias'] >= 300) 300+ @else {{ $details['existencias'] }} @endif PCS @endif @endif
@if (session('usuario_autenticado')) @endif
@if (session('usuario_autenticado')) @if ( !empty($details['precios_por_lotes']) && is_array($details['precios_por_lotes']) && count($details['precios_por_lotes']) > 0) @foreach ($details['precios_por_lotes'] as $pres_lot) @endforeach @endif @endif
@if ($details['existencias'] > 0 || $details['en_transito'] > 0)
@csrf {{-- @if ($details['existencias'] > 0) --}} {{-- --}} @if ($details['MOQ'] == 0) @else @endif {{-- @else @endif --}}
@else
Process not available due to lack of stock or in transit
@endif
MOQ: {{ $details['MOQ'] }} PCS
@if ($details['ETA'] <= 0) @if (!empty($out_stock)) Out Stock @else In Stock @endif @else ETA: {{ $details['ETA'] }} DAYS @endif
@if ($details['en_transito'] > 0) IN TRANSIT: {{ $details['en_transito'] }} PCS
@endif Categories: {{ implode(', ', array_column($details['registros_familias'], 'familia')) }}
@if (!empty($details['registros_subfamilia'])) Sub-Categories: {{ implode(', ', array_column($details['registros_familias'], 'subfamilia')) }} @endif
{{--
    @foreach ($details['registros_caracteristicas'] as $carac)
  • {{ $carac['caracteristica'] }}: {{ $carac['valor'] }}
  • @endforeach
--}}
    @foreach ($details['registros_caracteristicas'] as $carac)
  • {{ $carac['caracteristica'] }}: {{ $carac['valor'] }}
  • @endforeach
{{--
@csrf
Select one or more options to configure your notifications.

Notification by price

You will be notified when this product goes on sale.

notify when it drops in price

Stock notification

Enter a number. You will be notified when the stock of this product is equal to or greater than this value.

@if (isset($notifications['id_ntf_quantity']) && $notifications['id_ntf_quantity'])

disable this notification

@endif
--}}
{{-- SSR Product Specifications (crawlable by Google) --}} @if(isset($details) && !empty($details)) @php $specsList = $details['registros_caracteristicas'] ?? []; $brandFromSpecs = collect($specsList)->first( fn ($c) => strcasecmp(trim($c['caracteristica'] ?? ''), 'Brand') === 0 ); $displayBrand = filled(trim((string) ($details['marca'] ?? ''))) ? $details['marca'] : ($brandFromSpecs['valor'] ?? 'N/A'); @endphp

Product Specifications

@foreach($specsList as $carac) @continue(strcasecmp(trim($carac['caracteristica'] ?? ''), 'Brand') === 0) @continue(strcasecmp(trim($carac['caracteristica'] ?? ''), 'Condition') === 0) @endforeach
SKU / Part Number{{ $details['part_number'] ?? $details['codigo'] ?? 'N/A' }}
Brand{{ $displayBrand }}
Condition{{ ucfirst(strtolower($details['condicion'] ?? 'New')) }}
{{ $carac['caracteristica'] }}{{ $carac['valor'] }}
@endif

Related products

@foreach ($details['relacionados'] as $relacionados)
@include('website.products.partials.show-product-relations')
@endforeach
{{-- fin prueba --}}
@include('website.home.partials.new.section-nav-button') @include('website.home.partials.new.scripts')