Fixes on grouping
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['semences']['article_id'] ?? false ]) }}">
|
||||
<div class="card">
|
||||
@if ($article['image'] !== null)
|
||||
<img src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="card-img-top" alt="{{ $article['product_name'] }}">
|
||||
<img src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="card-img-top" alt="{{ $product_name }}">
|
||||
@else
|
||||
<img src="img/visuel-non-disponible.jpg" class="card-img-top">
|
||||
@endif
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="row card-title">
|
||||
<div class="col-10" style="font-weight: bold; color: green;">
|
||||
<h2 style="font-size: 1.3em;">{{ $article['parent_name'] }}</h2>
|
||||
{{ $article['product_name'] }}
|
||||
{{ $product_name }}
|
||||
</div>
|
||||
<div class="col-2 p-0 text-right" style="font-size: 2em; color: red;">
|
||||
<i class="fa fa-heart"></i>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="text-center pr-2 pl-2">
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['id']]) }}">
|
||||
<img data-lazy="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="d-block w-100" alt="{{ $name }}"/>
|
||||
{{ $article['name'] }}
|
||||
{{ $name }}
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user