@extends('ecommerce::layouts.layout_ecommerce_item.record') @section('content') @php $configurationModel = \App\Models\Tenant\Configuration::first(); $ecommerceConfiguration = \App\Models\Tenant\ConfigurationEcommerce::first(); $phoneWhatsapp = $ecommerceConfiguration->phone_whatsapp ?? $configurationModel->phone_whatsapp ?? null; $defaultImage = $configurationModel->product_default_image ?? 'imagen-no-disponible.jpg'; $defaultImagePath = $defaultImage === 'imagen-no-disponible.jpg' ? asset('logo/imagen-no-disponible.jpg') : asset('storage/defaults/' . $defaultImage); $mainImagePath = ($record->image && $record->image !== 'imagen-no-disponible.jpg') ? asset('storage/uploads/items/'.$record->image) : $defaultImagePath; @endphp
Categoría: {{$record->category->name}}
@endifDisponible: {{number_format(($record->stock), 0)}} Sin stock
{{ $record->description}}
{{ $record->name }}
{{ $record->technical_specifications }}