@php [$emoji, $label, $badgeClass] = $concept->stage_badge; @endphp
@if(session('success'))
{{ session('success') }}
@endif
@csrf @method('PATCH')
El slug no se cambia post-creación (sería caos en referencias).
Volver al board

@csrf @method('DELETE')
{{-- Sidebar metadata --}}
@php $parent = $concept->parent_slug ? \App\Models\ProductConcept::where('slug', $concept->parent_slug)->first() : null; $children = \App\Models\ProductConcept::where('parent_slug', $concept->slug)->orderBy('slug')->get(); @endphp @if($parent || $children->isNotEmpty())
Linaje
@if($parent)
⬆ Padre:
{{ $parent->name }}
{{ $parent->slug }}
@endif @if($children->isNotEmpty())
⬇ Variantes hijas ({{ $children->count() }}):
@foreach($children as $ch) {{ $ch->name }} @endforeach
@endif
@endif
Estado actual
{{ $emoji }} {{ $label }}
Fuente: {{ $concept->source_label }}
@if($concept->demand_count > 0)
Demanda detectada: {{ $concept->demand_count }} misil(es)
@endif @if($concept->owner)
Owner: {{ trim($concept->owner->first_name.' '.$concept->owner->last_name) ?: $concept->owner->email }}
@endif
Creado: {{ $concept->created_at?->format('d/m/Y') }} ({{ $concept->created_at?->diffForHumans() }})
@if($concept->parked_at)
Pausado: {{ $concept->parked_at->diffForHumans() }}
@endif @if($concept->promoted_at)
Promovido: {{ $concept->promoted_at->diffForHumans() }}
@endif
Para promover a Product
  1. Crear database/seeders/products/core/{{ $concept->slug }}.json
  2. Verificar/crear demo blades (welcome/about/contact)
  3. CSS del demo en public/template/css/demos/
  4. INSERT en tabla products con is_active=true
  5. Crear Stripe Live Price
  6. Agregar entry en catalog.json
  7. Cambiar stage a "Promovido"