{{-- Mostrar si hay resultados y el input está activo o tiene texto --}}
Productos sugeridos
@{{ result.description }}
@{{ result.sale_unit_price }}
Agregar al carrito
No se encontraron resultados para
"@{{ value }}"
@php $headerPrefs = optional(\App\Models\Tenant\ConfigurationEcommerce::first())->preferences; if (is_string($headerPrefs)) { $headerPrefs = json_decode($headerPrefs, true); } $headerTheme = data_get($headerPrefs, 'header_theme', 'light'); $headerLogoDark = data_get($company ?? null, 'logo_dark'); $headerLogo = ($headerTheme === 'dark' && $headerLogoDark) ? $headerLogoDark : (data_get($company ?? null, 'logo') ?: data_get($information ?? null, 'logo')); @endphp @if($headerLogo)
@else
@endif
@php($categories = $categories ?? collect())
Categorías
@if(count($categories) > 0)
@endif
@if(count($categories) > 0)
@foreach ($categories as $category)
@if($category->image && file_exists(public_path('storage/uploads/categories/'. $category->image)))
@else
@endif
{{ $category->name }}
@endforeach
@endif
@php($customLinks = $customLinks ?? \App\Models\Tenant\ConfigurationEcommerce::getCustomLinks())
@if(!empty($customLinks['title_one']) && !empty($customLinks['link_one']))
{{ $customLinks['title_one'] }}
@endif @if(!empty($customLinks['title_two']) && !empty($customLinks['link_two']))
{{ $customLinks['title_two'] }}
@endif @if(!empty($customLinks['title_three']) && !empty($customLinks['link_three']))
{{ $customLinks['title_three'] }}
@endif
@include('ecommerce::layouts.partials_ecommerce.cart_dropdown') @include('ecommerce::partials.headers.session')