This commit is contained in:
Ludovic CANDELLIER
2022-04-22 02:32:53 +02:00
parent 94234218d6
commit e4672a42d7
5 changed files with 21 additions and 4 deletions

View File

@@ -34,6 +34,7 @@
Tarif appliqué
</div>
<div class="col-6">
{{ $sale_channel['name'] ?? '' }}
</div>
</div>
<div class="row m-3">
@@ -61,6 +62,11 @@
<span id="basket-total-shipped"></span>
</div>
</div>
<div class="row m-3">
<div class="col-12 text-center">
<a href="" class="btn btn-green-dark">COMMANDER</a>
</div>
</div>
@endcomponent
</div>
</div>

View File

@@ -27,10 +27,13 @@
</section>
</aside>
@include('load.layout.chevron')
@push('js')
<script>
$('#filters').click(function() {
$('#sidebar').toggleClass('d-none');
})
initChevron();
</script>
@endpush

View File

@@ -16,7 +16,11 @@
</div>
<div class="col mb-4">
@for ($i = round(count($category['children']) / 3); $i < round(2 * count($category['children']) / 3); $i++)
<strong>{{ $category['children'][$i]['name'] }}</strong><br>
<strong>
<a class="green-dark" href="{{ route('Shop.Categories.show', ['id' => $category['children'][$i]['id']]) }}">
{{ $category['children'][$i]['name'] }}
</a>
</strong><br>
@foreach ($category['children'][$i]['children'] ?? [] as $leaf)
<a class="green-dark" href="{{ route('Shop.Categories.show', ['id' => $leaf['id']]) }}">
{{ $leaf['name'] }}
@@ -26,7 +30,11 @@
</div>
<div class="col mb-4">
@for ($i = round(2 * count($category['children']) / 3); $i < count($category['children']); $i++)
<strong>{{ $category['children'][$i]['name'] }}</strong><br>
<strong>
<a class="green-dark" href="{{ route('Shop.Categories.show', ['id' => $category['children'][$i]['id']]) }}">
{{ $category['children'][$i]['name'] }}
</a>
</strong><br>
@foreach ($category['children'][$i]['children'] ?? [] as $leaf)
<a class="green-dark" href="{{ route('Shop.Categories.show', ['id' => $leaf['id']]) }}">
{{ $leaf['name'] }}