Registierung Korrekturen
This commit is contained in:
parent
8e4bb0c2f6
commit
d8b5206031
70 changed files with 1192 additions and 569 deletions
|
|
@ -48,6 +48,14 @@
|
|||
padding-left: 20px;
|
||||
}
|
||||
|
||||
a.shop-item-hl {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
|
||||
border: 1px solid #ddd !important;
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 1200px) {
|
||||
.cartContent .yard .product_name {
|
||||
|
|
@ -107,9 +115,6 @@
|
|||
</div>
|
||||
</div>-->
|
||||
<!-- /EMPTY CART -->
|
||||
|
||||
|
||||
|
||||
<!-- CART -->
|
||||
<div class="row">
|
||||
|
||||
|
|
@ -124,7 +129,63 @@
|
|||
|
||||
<!-- cart content -->
|
||||
<div id="cartContent">
|
||||
<div class="box-border-shadow">
|
||||
|
||||
<!-- Shopping cart table -->
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered m-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- Set columns width -->
|
||||
<th colspan="2" class="text-left py-3 px-4" style="min-width: 400px;">Produkt</th>
|
||||
<th class="text-right py-3 px-4" style="width: 120px;">Preis</th>
|
||||
<th class="text-center py-3 px-4" style="width: 60px;">Anzahl</th>
|
||||
<th class="text-right py-3 px-4" style="width: 100px;">Summe</th>
|
||||
<th class="text-center align-middle py-3 px-0" style="width: 40px;">#</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
@php($product = \App\Models\Product::find($row->id))
|
||||
<tr class="item yard">
|
||||
<td>
|
||||
@if($row->options->has('image'))
|
||||
<img src="{{ route('product_image', [$row->options->image]) }}" width="80" alt="">
|
||||
@else
|
||||
<img src="{{ asset('/assets/images/1x1.png') }}" width="80" alt="">
|
||||
@endif
|
||||
</td>
|
||||
<td class="p-4">
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}" class="shop-item-hl ">
|
||||
<span>{{ $row->name }}</span>
|
||||
<div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">Inhalt: {{ $product->contents }}</div>
|
||||
<div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">Art.-Nr.: {{ $product->number }}</div>
|
||||
<div style="font-size: 13px; color:#6e6e6e; font-weight: 400;"><em>Lieferzeit: 1-3 Werktage</em></div>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<td class="text-right font-weight-semibold align-middle p-2">
|
||||
<span>{{ $row->price() }} </span> €
|
||||
<div style="font-size: 11px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>
|
||||
|
||||
</td>
|
||||
<td class="align-middle p-2">
|
||||
<input type="number" value="{{ $row->qty }}" name="quantity[{{$row->rowId}}]" maxlength="3" max="999" min="1" />
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-2">
|
||||
<div class=""><strong>{{ $row->subtotal() }} €</strong></div>
|
||||
</td>
|
||||
<td class="text-left p-2">
|
||||
<a style="margin: 0" href="{{ url(Util::getPostRoute().'card/remove', $row->rowId) }}" class="remove_item"><i class="fa fa-times"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{-- <div class="box-border-shadow">
|
||||
|
||||
|
||||
<!-- cart header -->
|
||||
<div class="item head clearfix">
|
||||
<span class="cart_img"></span>
|
||||
|
|
@ -136,7 +197,7 @@
|
|||
|
||||
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
|
||||
@php($product = \App\Models\Product::find($row->id))
|
||||
<div class="item yard">
|
||||
<div class="cart_img pull-left width-100 padding-10 text-left">
|
||||
@if($row->options->has('image'))
|
||||
|
|
@ -147,7 +208,10 @@
|
|||
</div>
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}" class="product_name">
|
||||
<span>{{ $row->name }}</span>
|
||||
<small>Lieferzeit: 1-3 Werktage</small>
|
||||
<div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>
|
||||
<div style="font-size: 13px; color:#6e6e6e; font-weight: 400;"><em>Lieferzeit: 1-3 Werktage</em></div>
|
||||
|
||||
|
||||
</a>
|
||||
<a href="{{ url(Util::getPostRoute().'card/remove', $row->rowId) }}" class="remove_item"><i class="fa fa-times"></i></a>
|
||||
|
||||
|
|
@ -157,13 +221,11 @@
|
|||
</div>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
</div>--}}
|
||||
<a href="{{url(Util::getPostRoute().'card/delete')}}" class="btn btn-default btn-sm margin-top-20 margin-right-10 pull-left"><i class="glyphicon glyphicon-remove"></i> Warenkorb löschen</a>
|
||||
<button type="submit" class="btn btn-sm btn-default margin-top-20 margin-left-0 pull-right pull-left-xs"><i class="glyphicon glyphicon-refresh"></i> Warenkorb aktualisieren</button>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
<!-- /CART -->
|
||||
@endif
|
||||
|
|
@ -240,7 +302,6 @@
|
|||
<hr>
|
||||
<p><em class="small" style="color: #828282">Alle Preise inkl. gesetzl. Mehrwertsteuer zzgl. Versandkosten, wenn nicht anders beschrieben</em></p>
|
||||
<!-- /CART -->
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue