@extends('Shop.layout.layout', [ 'title' => __('home.title'), ]) @section('content')

{{ $article['name'] }}

@include('components.multi-images', [ 'image' => $article['image'], 'images' => $article['images'], ])
{!! $article['description']['semences'] ?? null !!} {!! $article['description']['plants'] ?? null !!} {!! $article['description']['variety'] ?? null !!} {!! $article['description']['merchandise'] ?? null !!} @if ($article['description']['plus'] ?? false)

Spécificités

{!! $article['description']['plus'] !!} @endif @if (count($article['tags'] ?? []))

Caractéristiques

@foreach ($article['tags'] as $tag_group => $items)
{{ $tag_group }} : @foreach ($items as $tag) {{ $tag }} @endforeach
@endforeach @endif @if ($article['description']['specie'] ?? false)

Complément

{!! $article['description']['specie'] ?? null !!} {!! $article['description']['producer'] ?? null !!} @endif
@if (config('app.debug') && !empty($article['available_sale_channels']))
Offres :
    @php $currentSaleChannelId = $article['current_sale_channel']['id'] ?? null; @endphp @foreach ($article['available_sale_channels'] as $channel) @php $isCurrentChannel = $currentSaleChannelId === $channel['id']; $priceTaxed = $channel['price_taxed'] ?? null; $quantity = $channel['quantity'] ?? null; $offerStock = $channel['offer_stock_current'] ?? null; $offerIsActive = $channel['offer_is_active'] ?? false; $offerHasStock = $channel['offer_has_stock'] ?? null; $highlightStyle = $isCurrentChannel ? 'background-color: rgba(0, 0, 0, 0.06);' : ''; $nameClass = ($offerIsActive && $offerHasStock !== false) ? '' : 'text-muted'; $flags = []; if (! $offerIsActive) { $flags[] = 'inactive'; } if ($offerHasStock === false) { $flags[] = 'no-stock'; } @endphp
  • • {{ $channel['name'] }} Code {{ $channel['code'] }}{!! $flags ? ' · '.implode(' · ', $flags).'' : '' !!} @if ($priceTaxed !== null) {{ number_format($priceTaxed, 2, ',', ' ') }} € TTC @if (! empty($quantity)) Qté min. {{ $quantity }} @endif @else @endif
  • @endforeach
@endif @include('Shop.Articles.partials.ArticleAddBasket')
@endsection @include('load.layout.modal')