Show the product card also on /products (closes #2185)

This commit is contained in:
Bernd Bestel
2023-04-13 20:36:21 +02:00
parent 16011b91c6
commit 84bd74a1bc
6 changed files with 30 additions and 5 deletions

View File

@@ -174,7 +174,8 @@
</div>
</div>
</td>
<td>
<td class="product-name-cell cursor-link"
data-product-id="{{ $product->id }}">
{{ $product->name }}
@if(!empty($product->picture_file_name))
<i class="fa-solid fa-image text-muted"
@@ -283,4 +284,21 @@
</div>
</div>
</div>
<div class="modal fade"
id="productcard-modal"
tabindex="-1">
<div class="modal-dialog">
<div class="modal-content text-center">
<div class="modal-body">
@include('components.productcard')
</div>
<div class="modal-footer">
<button type="button"
class="btn btn-secondary"
data-dismiss="modal">{{ $__t('Close') }}</button>
</div>
</div>
</div>
</div>
@stop