Registierung Korrekturen

This commit is contained in:
Kevin Adametz 2020-04-29 20:06:51 +02:00
parent 8e4bb0c2f6
commit d8b5206031
70 changed files with 1192 additions and 569 deletions

View file

@ -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>

View file

@ -106,7 +106,7 @@
<div class="row">
<div class="col-sm-12">
<div class="alert alert-danger">
Bitte überprüfen Sie das Formular und vervollständigen alle Angaben.
Bitte überprüfe das Formular und vervollständigen alle Angaben.
</div>
</div>
</div>
@ -681,7 +681,7 @@
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block size-18 btn-text-500 mt-4 faa-parent animated-hover"><i class="fa fa-mail-forward faa-horizontal"></i> Jetzt kaufen</button>
<hr><p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i class="fa fa-lock"></i> Sind alle Ihre Angaben vollsätndig ausgefüllt, klicken Sie auf "Jetzt kaufen" und Sie werden zu unserem Zahlungsanbieter weitergeleitet, die Verbindung wird ist SSL verschlüsselt.</em></p>
<hr><p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i class="fa fa-lock"></i> Sind alle Deine Angaben vollsätndig ausgefüllt, klicke auf "Jetzt kaufen" und Du wist zu unserem Zahlungsanbieter weitergeleitet, die Verbindung wird ist SSL verschlüsselt.</em></p>

View file

@ -124,7 +124,7 @@
<div class="col-md-12">
<div class="form-group">
{!! Form::label('message', __('Nachricht*')) !!}
{!! Form::textarea('message', null, ['class' => 'form-control '.($errors->has('message') ? 'error' : ''), 'placeholder'=>__('Ihre Nachticht'), 'required']) !!}
{!! Form::textarea('message', null, ['class' => 'form-control '.($errors->has('message') ? 'error' : ''), 'placeholder'=>__('Deine Nachticht'), 'required']) !!}
@if ($errors->has('message'))
<label for="last_name" class="error text-danger small" style="display: block;">{{ $errors->first('message') }}</label>
@endif
@ -189,7 +189,7 @@
{!! nl2br($user_shop->contact) !!}
@endif
<br>
{{ $user_shop->getSubdomain() }}
{{ $user_shop->getSubdomain(true) }}
</p>
@if($user_shop->accessibility)

View file

@ -48,10 +48,13 @@
<div class="shop-item-price d-block text-danger mt-2">
<del class="text-muted" style="font-size: 0.85em"> {{ $product->getFormattedPriceOld() }} </del>
{{ $product->getFormattedPrice() }}
<div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>
</div>
@else
<div class="shop-item-price d-block mt-2 text-muted">
{{ $product->getFormattedPrice() }}
<div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>
</div>
@endif
<!-- price -->

View file

@ -25,6 +25,9 @@
text-align: center;
font-size: 16px;
}
div.shop-item-price > span {
color: #6e6e6e;
}
</style>
<section class="page-header page-header-xlg parallax parallax-3 hidden-xs"
style="background-image:url('/assets/images/vision-min.jpg')">
@ -97,34 +100,40 @@
<del class="text-muted" style="font-size: 0.85em"> {{ $product->getFormattedPriceOld() }} </del>
{{ $product->getFormattedPrice() }}
@else
<div class="shop-item-price text-right text-muted">
<div class="shop-item-price text-right text-muted" style="line-height: 1.3em;">
{{ $product->getFormattedPrice() }}
@endif<br>
<span style="font-size: 0.7em; color:#999; font-weight: 400;"><em>inkl. 19% MwSt. zzgl. Versandkosten</em></span>
<span style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</span><br>
<span style="font-size: 13px; color:#6e6e6e; font-weight: 500;"><em>inkl. 19% MwSt. zzgl. Versandkosten</em></span>
</div>
<hr>
<div class="shop-item-price text-right">
<div class="shop-item-price text-right" style="line-height: 1.3em">
{!! Form::open(['url' => url(Util::getPostRoute().'card/add/'.$product->id), 'class' => 'mb-0', 'id'=>'']) !!}
<div class="qty float-left">
<input type="number" value="1" name="quantity" maxlength="3" max="999" min="1"><br>
</div>
<button class="btn btn-primary btn-text-500 faa-parent animated-hover"><i class="fa fa-cart-plus faa-horizontal"></i> In den Warenkorb</button>
<br>
<span style="font-size: 0.7em; color:#999; font-weight: 400;"><em>Lieferzeit: 1-3 Werktage</em></span>
<span style="font-size: 13px; color:#6e6e6e; font-weight: 400;"><em>Lieferzeit: 1-3 Werktage</em></span>
{!! Form::close() !!}
</div>
<hr>
@endif
<div class="shop-item-price text-right">
<span class="pull-left"><strong>Inhalt:</strong></span>
<span style="font-size: 0.8em">{{ $product->contents }}</span>
<span>{{ $product->contents }}</span>
</div>
<hr>
<div class="shop-item-price text-left">
<span class=""><strong>Art.-Nr.:</strong> {{ $product->number }}</span>
<div class="shop-item-price text-right">
<span class="pull-left"><strong>Gewicht:</strong></span>
<span>{{ $product->weight }} g</span>
</div>
<hr>
<div class="shop-item-price text-right">
<span class="pull-left"><strong>Art.-Nr.:</strong></span>
<span>{{ $product->number }}</span>
</div>
<hr>

View file

@ -88,6 +88,10 @@
<div class="box-static box-transparent box-bordered padding-20">
{!! Form::open(['url' => '/registrierung']) !!}
@if(isset($from_member_id))
{!! Form::hidden('from_member_id', $from_member_id) !!}
@endif
<div class="row contact-row">
<div class="form-group col-md-12">
{!! Form::label('first_name', __('Salutation').'*') !!}
@ -223,7 +227,7 @@
{!! nl2br($user_shop->contact) !!}
@endif
<br>
{{ $user_shop->getSubdomain() }}
{{ $user_shop->getSubdomain(true) }}
</p>
@if($user_shop->accessibility)

View file

@ -119,7 +119,7 @@
{!! nl2br($user_shop->contact) !!}
@endif
<br>
{{ $user_shop->getSubdomain() }}
{{ $user_shop->getSubdomain(true) }}
</p>
@if($user_shop->accessibility)

View file

@ -53,7 +53,7 @@
</li>
@endif
<li class="footer-sprite">
{{ $user_shop->getSubdomain() }}
{{ $user_shop->getSubdomain(true) }}
</li>
</ul>
</address>

View file

@ -125,7 +125,7 @@
<i class="fa fa-chevron-down"></i>
</div>
<h1>Sparen Sie mit Sets</h1>
<h1>Spare mit Sets</h1>
<ul class="shop-item-list row list-inline nomargin">
@foreach($site->getProductSetModels() as $product)
<!-- ITEM -->
@ -165,7 +165,7 @@
{!! nl2br($user_shop->contact) !!}
@endif
<br>
{{ $user_shop->getSubdomain() }}
{{ $user_shop->getSubdomain(true) }}
</p>
@if($user_shop->accessibility)