Add variations, slider, fix cart ...

This commit is contained in:
Ludovic CANDELLIER
2022-03-21 21:52:12 +01:00
parent d9dba1c515
commit 36a63f3b14
27 changed files with 438 additions and 81 deletions

View File

@@ -1,4 +1,8 @@
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? ''}}" @if (isset($id)) id="{{ $id }}"@endif>
<button type="{{ $type ?? 'button' }}" class="btn {{ $class ?? ''}}"
@if (isset($id)) id="{{ $id }}"@endif
@if (isset($data_id)) data-id="{{ $data_id }}"@endif
{{ $metadata ?? null }}
>
@if ($icon ?? false)<i class="fa fa-fw {{ $icon ?? '' }}"></i>@endif
{{ $txt ?? '' }}
</button>