fix on customer auth, fix filters on shelves, refactor for article_nature, add slug
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
<div class="row mb-3">
|
||||
@foreach ($article_natures as $nature)
|
||||
<div class="col text-center @if ($article_nature == $nature)shadow2 @endif">
|
||||
<div class="row btn products" data-id="{{ $nature }}">
|
||||
<div class="col-12">
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature) }}" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-12 green-dark" style="font-size: 2rem;"> {{ $nature }} </div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@foreach ($article_natures as $nature)
|
||||
<div class="btn products" data-id="{{ $nature }}">
|
||||
@if ($article_nature == $nature)
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature, 'normal', 'icon_selection') }}">
|
||||
@else
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature, 'normal', 'icon') }}">
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
|
||||
@@ -9,6 +9,12 @@
|
||||
<input type="hidden" id="product_type" name="product_type" value="{{ $product_type ?? false }}">
|
||||
<input type="hidden" id="article_nature" name="article_nature" value="{{ $article_nature ?? false }}">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@include('Shop.Shelves.partials.category_add')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-9">
|
||||
@include('Shop.Shelves.partials.breadcrumb')
|
||||
@@ -24,16 +30,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@include('Shop.Shelves.partials.category_add')
|
||||
@if (count($tags))
|
||||
<div class="mb-3">
|
||||
@include('Shop._partials.display_filters')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
@include('Shop._partials.display_filters')
|
||||
</div>
|
||||
@include('Shop.Tags.partials.filter')
|
||||
@include('Shop.Tags.partials.filter')
|
||||
@endif
|
||||
|
||||
@if ($display_by_rows ?? false)
|
||||
@include('Shop.Shelves.partials.category_articles_rows')
|
||||
|
||||
Reference in New Issue
Block a user