@include('components.forms.inputs.classic-light', [
'id' => 'title',
'label' => 'Titre',
'value' => $product->title ?? null
])
@include('components.forms.inputs.classic-light', [
'id' => 'quantity',
'type' => 'number',
'label' => 'Quantité en stock',
'value' => $product->quantity ?? null
])
@include('components.forms.inputs.price', [
'id' => 'price',
'label' => 'Prix',
'value' => $product->price ?? null
])
@include('components.forms.inputs.price', [
'id' => 'promo_price',
'label' => 'Prix en promo',
'value' => $product->promo_price ?? null
])
@include('components.forms.inputs.tinymce', [
'id' => 'description',
'label' => 'Description',
'value' => $product->description ?? null
])
Images
@include('components.forms.inputs.images', [
'id' => 'images',
'images' => $product->images ?? []
])
Référencement Google
{{ config('app.name') }} - {{ $product?->title ?? "" }}
{{ isset($product) ? route('produit', ['product' => $product]) : "" }}
{{ strip_tags(Str::limit(preg_replace("/.*?<\/h\\1>/si", '', $product?->description ?? ""), 320)) }}
@include('components.forms.inputs.checkbox', [
'id' => 'isBestSeller',
'label' => "Meilleures ventes",
'value' => $product?->isBestSeller ?? null
])
Icones
@include('components.forms.inputs.checkbox', [
'id' => 'icons_secured_payment',
'old' => 'icons.secured_payment',
'name' => 'icons[secured_payment]',
'label' => "Paiement sécurisé",
'value' => isset($product->icons['secured_payment']) && $product->icons['secured_payment']
])
@include('components.forms.inputs.checkbox', [
'id' => 'icons_made_in_france',
'old' => 'icons.made_in_france',
'name' => 'icons[made_in_france]',
'label' => "Fabriqué en France",
'value' => isset($product->icons['made_in_france']) && $product->icons['made_in_france']
])
@include('components.forms.inputs.checkbox', [
'id' => 'icons_click_collect',
'old' => 'icons.click_collect',
'name' => 'icons[click_collect]',
'label' => "Click & Collect",
'value' => isset($product->icons['click_collect']) && $product->icons['click_collect']
])
Dimensions
@include('components.forms.inputs.classic-light', [
'id' => 'length',
'label' => 'Longueur',
'value' => $product?->length ?? null
])
@include('components.forms.inputs.classic-light', [
'id' => 'width',
'label' => 'Largeur',
'value' => $product?->width ?? null
])
@include('components.forms.inputs.classic-light', [
'id' => 'height',
'label' => 'Hauteur',
'value' => $product->height ?? null
])
{{-- Bottom --}}