#10 Promotion Modul, Kommentar 2
This commit is contained in:
parent
f0da981737
commit
c9e1545693
128 changed files with 8194 additions and 637 deletions
53
resources/views/web/promotion/_free_product.blade.php
Normal file
53
resources/views/web/promotion/_free_product.blade.php
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<section>
|
||||
<h2 class="text-center">1 Tester gratis für Dich</h2>
|
||||
<p class="text-center">Wähle nun ...</p>
|
||||
|
||||
<div class="row justify-content-center">
|
||||
@foreach ($promotion_user->promotion_user_products_active as $promotion_user_product)
|
||||
@if ($promotion_user_product->isShow())
|
||||
<div class="col-md-6 col-lg-4 text-center p-4">
|
||||
@if ($promotion_user_product->product->images)
|
||||
@if ($image = $promotion_user_product->product->images->first())
|
||||
<img src="{{ route('product_image', [$image->slug]) }}" class="mb-2 img-fluid"
|
||||
alt="" style="max-height: 350px">
|
||||
@endif
|
||||
@endif
|
||||
<h4 class="product-title">
|
||||
{{ $promotion_user_product->product->name }}
|
||||
</h4>
|
||||
<div class="mb-2 product-description">
|
||||
{{ substr_ellipsis($promotion_user_product->product->description, 110, true) }}
|
||||
</div>
|
||||
<div class="more_details">
|
||||
<a href="" class="" data-modal="modal-lg" data-toggle="modal"
|
||||
data-target="#modals-load-content"
|
||||
data-id="{{ $promotion_user_product->product->id }}"
|
||||
data-route="{{ route('web_promotion_modal_load') }}"
|
||||
data-action="web-show-product" data-view="no-price">
|
||||
<i class="fa fa-search"></i> Mehr Details</a>
|
||||
</div>
|
||||
<div class="mt-4 mb-3">
|
||||
<div class="switcher-holder">
|
||||
<label class="switcher switcher-success">
|
||||
<input type="radio" class="switcher-input" name="user_free_product" value="{{ $promotion_user_product->product->id }}" data-error="#error-user_free_product" required>
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes">
|
||||
<span class="ion ion-md-checkmark"></span>
|
||||
</span>
|
||||
<span class="switcher-no">
|
||||
<span class="ion ion-md-close"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="switcher-label"> möchte ich haben</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
<div class="col-12">
|
||||
<div id="error-user_free_product" class="text-center"></div>
|
||||
<hr class="">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue