final checkout and card
This commit is contained in:
parent
4bd21bd986
commit
1953c97cd0
33 changed files with 2131 additions and 1084 deletions
|
|
@ -158,8 +158,7 @@
|
|||
@endforeach
|
||||
</div>
|
||||
<a href="{{route(Util::getPostRoute().'card_delete', Util::addRoute())}}" 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-primary margin-top-20 pull-right"><i class="glyphicon glyphicon-refresh"></i> Warenkorb aktualisieren</button>
|
||||
|
||||
<button type="submit" class="btn btn-sm btn-default margin-top-20 pull-right"><i class="glyphicon glyphicon-refresh"></i> Warenkorb aktualisieren</button>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
</div>
|
||||
|
|
@ -202,19 +201,16 @@
|
|||
<div class="small">
|
||||
<form action="{{ route(Util::getPostRoute().'card_show', Util::addRoute()) }}" method="GET" style="margin-bottom: 0;">
|
||||
<select name="selected_country" class="select2" onchange="this.form.submit()">
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountry()) !!}
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->shipping() }} € </span>
|
||||
<span class="pull-left small">Versandkosten:</span>
|
||||
</div>
|
||||
|
||||
<hr class="mt-4 mb-4">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->subtotalWithShipping() }} €</span>
|
||||
<span class="pull-left small">Summe ohne MwSt:</span>
|
||||
|
|
@ -222,27 +218,22 @@
|
|||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->taxWithShipping() }} €</span>
|
||||
<span class="pull-left small"> zzgl. {{ Yard::getTaxRate() }} % MwSt.:</span>
|
||||
<span class="pull-left small"> zzgl. {{ Yard::getTaxRate() }} % MwSt:</span>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<span class="clearfix ">
|
||||
<span class="pull-right size-20"><strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong></span>
|
||||
<strong class="pull-left">Gesamtsumme:</strong>
|
||||
</span>
|
||||
|
||||
|
||||
<a href="{{ route(Util::getPostRoute().'card_checkout', Util::addRoute()) }}" class="btn btn-primary btn-lg btn-block size-15 mt-4"><i class="fa fa-mail-forward"></i> zur Kasse</a>
|
||||
<a href="{{ route(Util::getPostRoute().'card_checkout_server', Util::addRoute()) }}" class="btn btn-primary btn-lg btn-block mt-4 btn-text-500 faa-parent animated-hover"><i class="fa fa-mail-forward faa-horizontal"></i> zur Kasse</a>
|
||||
<hr>
|
||||
<p class="text-center" style="line-height: 1.2em;"><em class="small text-center"> <i class="fa fa-lock"></i> Sie werden auf unseren checkout Server weitergeletet, die Verbindung ist mit SSL verschlüsselt.</em></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<br><br>
|
||||
<hr>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
<!-- /PAGE HEADER -->
|
||||
|
||||
<style>
|
||||
.checkbox.error{
|
||||
color:#b92c28 !important;
|
||||
}
|
||||
div.shop-item {
|
||||
margin-bottom:30px;
|
||||
border: 1px solid #ddd;
|
||||
|
|
@ -88,7 +91,20 @@
|
|||
<!-- CHECKOUT -->
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
{{-- @if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
--}}
|
||||
{{--
|
||||
<!-- NOT LOGGED IN -->
|
||||
<!-- <div class="mb-30 box-border-shadow p-20">
|
||||
|
|
@ -97,320 +113,399 @@
|
|||
</div>
|
||||
-->
|
||||
<!-- /NOT LOGGED IN -->
|
||||
--}}
|
||||
--}}<!-- CHECKOUT -->
|
||||
|
||||
@if ($errors->any())
|
||||
|
||||
<!-- CHECKOUT -->
|
||||
<div class="">
|
||||
{!! Form::open(['url' => route(Util::getPostRoute().'card_checkout_final', Util::addRoute()), 'class' => 'row clearfix', 'id'=>'']) !!}
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-7 col-sm-7">
|
||||
|
||||
<!-- BILLING -->
|
||||
<fieldset class="mb-0 box-border-shadow p-20">
|
||||
|
||||
<h4>Rechnung & Versand</h4>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_company">Firma</label>
|
||||
<input id="billing_company" name="billing[company]" type="text" class="form-control" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
Bitte überprüfen Sie das Formular und vervollständigen alle Angaben.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="m-checkout">
|
||||
{!! Form::open(['url' => route('checkout.checkout_card_final'), 'class' => 'row clearfix', 'id'=>'']) !!}
|
||||
<div class="col-lg-7 col-sm-7">
|
||||
<!-- BILLING -->
|
||||
<fieldset class="mb-0 box-border-shadow p-20">
|
||||
<h4>Rechnung & Versand</h4>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_company">Firmenname (optional)</label>
|
||||
{!! Form::text('billing[company]', null, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_firstname">Vorname*</label>
|
||||
<input id="billing_firstname" name="billing[firstname]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_lastname">Nachname *</label>
|
||||
<input id="billing_lastname" name="billing[lastname]" type="text" class="form-control required" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_firstname">Vorname*</label>
|
||||
{!! Form::text('billing[firstname]', null, ['class' => 'form-control '.($errors->has('billing.firstname') ? 'error' : ''), 'id'=>'billing_firstname']) !!}
|
||||
@if ($errors->has('billing.firstname'))
|
||||
<label for="billing_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('billing.firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_address1">Straße Nr. *</label>
|
||||
<input id="billing_address1" name="billing[address][]" type="text" class="form-control required" placeholder="" />
|
||||
|
||||
<!--<input id="billing_address2" name="billing[address][]" type="text" class="form-control margin-top-10" placeholder="Address 2" />-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_lastname">Nachname*</label>
|
||||
{!! Form::text('billing[lastname]', null, ['class' => 'form-control '.($errors->has('billing.lastname') ? 'error' : ''), 'id'=>'billing_lastname']) !!}
|
||||
@if ($errors->has('billing.lastname'))
|
||||
<label for="billing_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('billing.lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_zipcode">PLZ *</label>
|
||||
<input id="billing_zipcode" name="billing[zipcode]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_city">Stadt *</label>
|
||||
<input id="billing_city" name="billing[city]" type="text" class="form-control required" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_address">Straße Nr. *</label>
|
||||
{!! Form::text('billing[address]', null, ['class' => 'form-control '.($errors->has('billing.address') ? 'error' : ''), 'id'=>'billing_address']) !!}
|
||||
@if ($errors->has('billing.address'))
|
||||
<label for="billing_address" class="error text-danger small" style="display: block;">{{ $errors->first('billing.address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_state">Land *</label>
|
||||
<select id="billing_state" name="billing[state]" class="form-control pointer selectpicker required">
|
||||
<option value="">Select...</option>
|
||||
<option value="1">...</option>
|
||||
<option value="2">...</option>
|
||||
<option value="">..............</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_address_2">Wohnung / Gebäude (optional)</label>
|
||||
{!! Form::text('billing[address_2]', null, ['class' => 'form-control '.($errors->has('billing.address_2') ? 'error' : ''), 'id'=>'billing_address_2']) !!}
|
||||
@if ($errors->has('billing.address_]'))
|
||||
<label for="billing_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('billing.address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_phone">Telefon *</label>
|
||||
<input id="billing_phone" name="billing[phone]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_fax">Fax</label>
|
||||
<input id="billing_fax" name="billing[fax]" type="text" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_email">Email *</label>
|
||||
<input id="billing_email" name="billing[email]" type="text" class="form-control required" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left"><!-- see assets/js/view/demo.shop.js - CHECKOUT section -->
|
||||
<input id="shipswitch" name="shipping[same_as_billing]" type="checkbox" value="1" checked="checked" />
|
||||
<i></i> <span class="weight-300">Versand an die gleiche Adresse</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<!-- /BILLING -->
|
||||
|
||||
|
||||
<!-- SHIPPING -->
|
||||
<fieldset id="shipping" class="softhide mt-40">
|
||||
<div class="box-border-shadow p-20">
|
||||
|
||||
<h4>Versand Adresse</h4>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_company">Firma</label>
|
||||
<input id="shipping_company" name="shipping[company]" type="text" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_firstname">Vorname*</label>
|
||||
<input id="shipping_firstname" name="shipping[firstname]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_lastname">Nachname *</label>
|
||||
<input id="shipping_lastname" name="shipping[lastname]" type="text" class="form-control required" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_address1">Straße Nr. *</label>
|
||||
<input id="shipping_address1" name="shipping[address][]" type="text" class="form-control required" placeholder="" />
|
||||
|
||||
<!--<input id="shipping_address2" name="shipping[address][]" type="text" class="form-control margin-top-10" placeholder="Address 2" />-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_zipcode">PLZ *</label>
|
||||
<input id="shipping_zipcode" name="shipping[zipcode]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_city">Stadt *</label>
|
||||
<input id="shipping_city" name="shipping[city]" type="text" class="form-control required" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_state">Land *</label>
|
||||
<select id="shipping_state" name="shipping[state]" class="form-control pointer selectpicker required">
|
||||
<option value="">Select...</option>
|
||||
<option value="1">...</option>
|
||||
<option value="2">...</option>
|
||||
<option value="">..............</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_phone">Telefon *</label>
|
||||
<input id="shipping_phone" name="shipping[phone]" type="text" class="form-control required" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_fax">Fax</label>
|
||||
<input id="shipping_fax" name="shipping[fax]" type="text" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- /SHIPPING -->
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_zipcode">PLZ *</label>
|
||||
{!! Form::text('billing[zipcode]', null, ['class' => 'form-control '.($errors->has('billing.zipcode') ? 'error' : ''), 'id'=>'billing_zipcode']) !!}
|
||||
@if ($errors->has('billing.zipcode'))
|
||||
<label for="billing_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('billing.zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_city">Stadt *</label>
|
||||
{!! Form::text('billing[city]', null, ['class' => 'form-control '.($errors->has('billing.city') ? 'error' : ''), 'id'=>'billing_city']) !!}
|
||||
@if ($errors->has('billing.city'))
|
||||
<label for="billing_city" class="error text-danger small" style="display: block;">{{ $errors->first('billing.city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_state">Land *</label>
|
||||
<select id="billing_state" name="billing[state]" class="form-control select2 required" disabled="true">
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_phone">Telefon (optional)</label>
|
||||
{!! Form::text('billing[phone]', null, ['class' => 'form-control '.($errors->has('billing.phone') ? 'error' : ''), 'id'=>'billing_phone']) !!}
|
||||
@if ($errors->has('billing.phone'))
|
||||
<label for="billing_phone" class="error text-danger small" style="display: block;">{{ $errors->first('billing.phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_email">E-Mail *</label>
|
||||
{!! Form::email('billing[email]', null, ['class' => 'form-control '.($errors->has('billing.email') ? 'error' : ''), 'id'=>'billing_email']) !!}
|
||||
@if ($errors->has('billing.email'))
|
||||
<label for="billing_email" class="error text-danger small" style="display: block;">{{ $errors->first('billing.email') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-5 col-sm-5">
|
||||
|
||||
<!-- PAYMENT METHOD -->
|
||||
<fieldset class="box-border-shadow p-20">
|
||||
|
||||
<h4>Zahlungsart</h4>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<hr>
|
||||
<label class="checkbox {{ ($errors->has('accepted_data_checkbox') ? 'error' : '') }}" for="accepted_data_checkbox" style="font-size: 14px;line-height: 22px; font-weight: 400">
|
||||
{!! Form::checkbox('accepted_data_checkbox', 1, false, ['id'=>'accepted_data_checkbox', 'class' => 'form-control '.($errors->has('accepted_data_checkbox') ? 'error' : '')]) !!}
|
||||
<i></i> Mit Klick auf "Jetzt kaufen" akzeptiere ich die <a href="{{ url('/datenschutz') }}">Allgemeinen Geschäftsbedingungen</a>, die <a href="{{ url('/datenschutz') }}">Widerrufsbestimmungen</a> und die <a href="{{ url('/datenschutz') }}">Datenschutzbelehrung</a>, damit für die Bestellung meine Daten verarbeitet werden können.
|
||||
</label>
|
||||
@if ($errors->has('accepted_data_checkbox'))
|
||||
<label for="accepted_data_checkbox" class="error text-danger small" style="display: block;">{{ $errors->first('accepted_data_checkbox') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left nomargin-top">
|
||||
<input id="payment_check" name="payment[method]" type="radio" value="1" checked="checked" />
|
||||
<i></i> <span class="weight-300">Paypal</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input id="payment_card" name="payment[method]" type="radio" value="2" />
|
||||
<i></i> <span class="weight-300">Kredit Karte</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<hr>
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left"><!-- see assets/js/view/demo.shop.js - CHECKOUT section -->
|
||||
{!! Form::checkbox('shipping[same_as_billing]', 1, true, ['id'=>'shipswitch', 'class' => '']) !!}
|
||||
<i></i> <span class="weight-300">Versand an die gleiche Adresse</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<!-- /BILLING -->
|
||||
|
||||
|
||||
<!-- SHIPPING -->
|
||||
<fieldset id="shipping" class="softhide mt-40">
|
||||
<div class="box-border-shadow p-20">
|
||||
<h4>Versand Adresse</h4>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_company">Firmenname (optional)</label>
|
||||
{!! Form::text('shipping[company]', null, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_firstname">Vorname*</label>
|
||||
{!! Form::text('shipping[firstname]', null, ['class' => 'form-control '.($errors->has('shipping.firstname') ? 'error' : ''), 'id'=>'shipping_firstname']) !!}
|
||||
@if ($errors->has('shipping.firstname'))
|
||||
<label for="shipping_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- /PAYMENT METHOD -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- TOTAL / PLACE ORDER -->
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right">{{ Yard::instance('shopping')->total() }} €</span>
|
||||
<strong class="pull-left">Zwischensumme:</strong>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->shipping() }} € </span>
|
||||
<span class="pull-left small">Versandkosten:</span>
|
||||
</div>
|
||||
|
||||
<hr class="mt-4 mb-4">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->subtotalWithShipping() }} €</span>
|
||||
<span class="pull-left small">Summe ohne MwSt:</span>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->taxWithShipping() }} €</span>
|
||||
<span class="pull-left small"> zzgl. {{ Yard::getTaxRate() }} % MwSt.:</span>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<span class="clearfix ">
|
||||
<span class="pull-right size-20"><strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong></span>
|
||||
<strong class="pull-left">Gesamtsumme:</strong>
|
||||
</span>
|
||||
<button class="btn btn-primary btn-lg btn-block size-15 mt-4"><i class="fa fa-mail-forward"></i> Bestellung absenden</button>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_lastname">Nachname*</label>
|
||||
{!! Form::text('shipping[lastname]', null, ['class' => 'form-control '.($errors->has('shipping.lastname') ? 'error' : ''), 'id'=>'shipping_lastname']) !!}
|
||||
@if ($errors->has('shipping.lastname'))
|
||||
<label for="shipping_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /TOTAL / PLACE ORDER -->
|
||||
|
||||
{{--
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_address">Straße Nr. *</label>
|
||||
{!! Form::text('shipping[address]', null, ['class' => 'form-control '.($errors->has('shipping.address') ? 'error' : ''), 'id'=>'shipping_address']) !!}
|
||||
@if ($errors->has('shipping.address'))
|
||||
<label for="shipping_address" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_address_2">Wohnung / Gebäude (optional)</label>
|
||||
{!! Form::text('shipping[address_2]', null, ['class' => 'form-control '.($errors->has('shipping.address_2') ? 'error' : ''), 'id'=>'shipping_address_2']) !!}
|
||||
@if ($errors->has('shipping.address_]'))
|
||||
<label for="shipping_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CREATE ACCOUNT -->
|
||||
<div class="toggle-transparent toggle-bordered-full margin-top-30 clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_zipcode">PLZ *</label>
|
||||
{!! Form::text('shipping[zipcode]', null, ['class' => 'form-control '.($errors->has('shipping.zipcode') ? 'error' : ''), 'id'=>'shipping_zipcode']) !!}
|
||||
@if ($errors->has('shipping.zipcode'))
|
||||
<label for="shipping_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_city">Stadt *</label>
|
||||
{!! Form::text('shipping[city]', null, ['class' => 'form-control '.($errors->has('shipping.city') ? 'error' : ''), 'id'=>'shipping_city']) !!}
|
||||
@if ($errors->has('shipping.city'))
|
||||
<label for="shipping_city" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left">
|
||||
<input id="accountswitch" name="create-account[yes]" type="checkbox" value="1" />
|
||||
<i></i> <span class="weight-300">Create an account for later use</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CREATE ACCOUNT FORM -->
|
||||
<div id="newaccount" class="margin-top-10 margin-bottom-30 softhide">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_state">Land *</label>
|
||||
<select id="shipping_state" name="shipping[state]" class="form-control select2 required" disabled="true">
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password">Password *</label>
|
||||
<input id="account:password" name="account[password]" type="password" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password2">Confirm Password *</label>
|
||||
<input id="account:password2" name="account[password2]" type="password" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<small class="text-warning">NOTE: Email address will be used to login</small>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_phone">Telefon (optional)</label>
|
||||
{!! Form::text('shipping[phone]', null, ['class' => 'form-control '.($errors->has('shipping.phone') ? 'error' : ''), 'id'=>'shipping_phone']) !!}
|
||||
@if ($errors->has('shipping.phone'))
|
||||
<label for="shipping_phone" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- /SHIPPING -->
|
||||
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT FORM -->
|
||||
<a href="{{ Util::getUserShopBackUrl('/card/show') }}" class="btn btn-default btn-sm btn- size-15 mt-4"><i class="fa fa-chevron-left"></i> zurück zum Warenkorb</a>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-5 col-sm-5">
|
||||
|
||||
<!-- PAYMENT METHOD -->
|
||||
<fieldset class="box-border-shadow p-20">
|
||||
|
||||
<h4>Zahlungsart</h4>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left nomargin-top">
|
||||
<input id="payment_check" name="payment[method]" type="radio" value="paypal" checked="checked" />
|
||||
<i></i> <span class="weight-300">Paypal</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input id="payment_card" name="payment[method]" type="radio" value="sofort" />
|
||||
<i></i> <span class="weight-300">Sofortüberweisung</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input id="payment_card" name="payment[method]" type="radio" value="credit" />
|
||||
<i></i> <span class="weight-300">Kredit Karte</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input id="payment_card" name="payment[method]" type="radio" value="sepa" />
|
||||
<i></i> <span class="weight-300">Lastschrift SEPA</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input id="payment_card" name="payment[method]" type="radio" value="voraus" />
|
||||
<i></i> <span class="weight-300">Vorauskasse</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- /PAYMENT METHOD -->
|
||||
|
||||
<!-- TOTAL / PLACE ORDER -->
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right">{{ Yard::instance('shopping')->total() }} €</span>
|
||||
<strong class="pull-left">Zwischensumme:</strong>
|
||||
</div>
|
||||
|
||||
<hr class="mt-4 mb-4">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->shipping() }} € </span>
|
||||
<span class="pull-left small">Versandkosten:</span>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->getShippingCountryName() }}</span>
|
||||
<span class="pull-left small">Versandland:</span>
|
||||
</div>
|
||||
|
||||
<hr class="mt-4 mb-4">
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->subtotalWithShipping() }} €</span>
|
||||
<span class="pull-left small">Summe ohne MwSt:</span>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small">{{ Yard::instance('shopping')->taxWithShipping() }} €</span>
|
||||
<span class="pull-left small"> zzgl. {{ Yard::getTaxRate() }} % MwSt:</span>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="clearfix">
|
||||
<span class="pull-right size-20"><strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong></span>
|
||||
<strong class="pull-left">Gesamtsumme:</strong>
|
||||
</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>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /TOTAL / PLACE ORDER -->
|
||||
{{--
|
||||
<!-- CREATE ACCOUNT -->
|
||||
<div class="toggle-transparent toggle-bordered-full margin-top-30 clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left">
|
||||
<input id="accountswitch" name="create-account[yes]" type="checkbox" value="1" />
|
||||
<i></i> <span class="weight-300">Create an account for later use</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT -->
|
||||
--}}
|
||||
|
||||
{!! Form::close() !!}
|
||||
<!-- CREATE ACCOUNT FORM -->
|
||||
<div id="newaccount" class="margin-top-10 margin-bottom-30 softhide">
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password">Password *</label>
|
||||
<input id="account:password" name="account[password]" type="password" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password2">Confirm Password *</label>
|
||||
<input id="account:password2" name="account[password2]" type="password" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<small class="text-warning">NOTE: Email address will be used to login</small>
|
||||
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT FORM -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT -->
|
||||
--}}
|
||||
|
||||
</div>
|
||||
<!-- /CHECKOUT -->
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /CHECKOUT -->
|
||||
<!-- /CART -->
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@
|
|||
genannte Datenverarbeitung ein.
|
||||
</label>
|
||||
@if ($errors->has('accepted_data_protection'))
|
||||
<label for="last_name" class="error text-danger small" style="display: block;">{{ $errors->first('accepted_data_protection') }}</label>
|
||||
<label for="accepted_data_protection" class="error text-danger small" style="display: block;">{{ $errors->first('accepted_data_protection') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -25,28 +25,12 @@
|
|||
@endif
|
||||
@endforeach
|
||||
</a>
|
||||
<!-- /product image(s) -->
|
||||
|
||||
<!-- hover buttons -->
|
||||
{{--
|
||||
<div class="shop-option-over">
|
||||
<a class="btn btn-default add-wishlist" href="#" data-item-id="4" data-toggle="tooltip" title="" data-original-title="Auf die Wunschliste"><i class="fa fa-heart nopadding"></i></a>
|
||||
</div>
|
||||
--}}
|
||||
<!-- /hover buttons -->
|
||||
|
||||
<!-- product more info -->
|
||||
{{-- <div class="shop-item-info">
|
||||
<span class="label label-success">NEW</span>
|
||||
</div>--}}
|
||||
<!-- /product more info -->
|
||||
</div>
|
||||
|
||||
|
||||
@if($user_shop)
|
||||
<div class="shop-item-summary text-center ">
|
||||
<h2 class=""><a
|
||||
href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name') }}</a>
|
||||
</h2>
|
||||
<h2 class=""><a href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name') }}</a></h2>
|
||||
|
||||
<!-- rating -->
|
||||
<div class="shop-item-rating-line">
|
||||
|
|
@ -60,20 +44,23 @@
|
|||
</div>
|
||||
<!-- /price -->
|
||||
</div>
|
||||
|
||||
<!-- buttons -->
|
||||
<div class="shop-item-buttons text-left">
|
||||
<a href="{{ route(Util::getPostRoute().'card_add_get', Util::addRoute([$product->id, 1, $product->slug])) }}"
|
||||
data-quantity="1" data-product_id="{{ $product->id }}"
|
||||
aria-label="{{ $product->getLang('name') }} zu deinem Warenkorb hinzufügen"
|
||||
class="btn btn-primary btn-xs" rel="nofollow">
|
||||
<i class="fa fa-cart-plus"></i> In den Warenkorb
|
||||
class="btn btn-primary btn-xs btn-text-500 faa-parent animated-hover" rel="nofollow">
|
||||
<i class="fa fa-cart-plus faa-horizontal"></i> In den Warenkorb
|
||||
</a>
|
||||
<a class="float-right btn btn-primary btn-xs"
|
||||
<a class="float-right btn btn-primary btn-xs btn-text-500 faa-parent animated-hover"
|
||||
href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
|
||||
<i class="fa fa-list"></i> Details
|
||||
<i class="fa fa-list faa-horizonta"></i> Details
|
||||
</a>
|
||||
|
||||
</div>
|
||||
@else
|
||||
<div class="shop-item-buttons text-center">
|
||||
<a class="btn btn-primary btn-sm btn-text-500 faa-parent animated-hover" href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name') }} <i class="fa fa-lg fa-chevron-circle-right faa-horizontal"></i> </a>
|
||||
</div>
|
||||
@endif
|
||||
<!-- /buttons -->
|
||||
</div>
|
||||
|
|
@ -65,7 +65,6 @@
|
|||
</figure>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Thumbnails (required height:100px) -->
|
||||
<div data-for="zoom-primary" class="zoom-more owl-carousel owl-padding-3 featured"
|
||||
data-plugin-options='{"singleItem": false, "autoPlay": false, "navigation": true, "pagination": false}'>
|
||||
|
|
@ -78,44 +77,42 @@
|
|||
</a>
|
||||
@php ($activ = '')
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
<!-- /Thumbnails -->
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
<!-- /IMAGE -->
|
||||
|
||||
<!-- ITEM DESC -->
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
{{--
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default add-wishlist" href="#" data-item-id="1" data-toggle="tooltip" title="" data-original-title="Add To Wishlist"><i class="fa fa-heart nopadding"></i></a>
|
||||
</div>
|
||||
--}}
|
||||
<h1 class="small-h1">{{ $product->getLang('name') }}</h1>
|
||||
|
||||
{!! $product->getLang('copy') !!}
|
||||
<hr/>
|
||||
|
||||
<div class="shop-item-price text-right">
|
||||
{{ $product->getFormattedPrice() }} €<br>
|
||||
<span style="font-size: 0.7em; color:#999; font-weight: 400;"><em>inkl. 19% MwSt. zzgl. Versandkosten</em></span>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="shop-item-price text-right">
|
||||
{!! Form::open(['url' => route(Util::getPostRoute().'card_add_post', Util::addRoute([$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>
|
||||
|
||||
@if($user_shop)
|
||||
<div class="shop-item-price text-right">
|
||||
{{ $product->getFormattedPrice() }} €<br>
|
||||
<span style="font-size: 0.7em; color:#999; font-weight: 400;"><em>inkl. 19% MwSt. zzgl. Versandkosten</em></span>
|
||||
|
||||
</div>
|
||||
<button class="btn btn-primary">In den Warenkorb</button>
|
||||
<br>
|
||||
<span style="font-size: 0.7em; color:#999; font-weight: 400;"><em>Lieferzeit: 1-3 Werktage</em></span>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<hr>
|
||||
<hr>
|
||||
<div class="shop-item-price text-right">
|
||||
{!! Form::open(['url' => route(Util::getPostRoute().'card_add_post', Util::addRoute([$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>
|
||||
{!! 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue