Card + Products
This commit is contained in:
parent
5ff57a21a7
commit
c129a44383
38 changed files with 4489 additions and 1789 deletions
|
|
@ -20,13 +20,20 @@
|
|||
<link href="{{ asset('/assets/plugins/slider.revolution/css/settings.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('/assets/css/mystyle.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('/assets/css/custom-style.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/css/custom-forms-v2.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
.text-primary {
|
||||
color:#a5d0a5 !important;
|
||||
}
|
||||
div.side-nav ul.list-group-bordered > li.list-group-item.active > a:hover{
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="smoothscroll enable-animation">
|
||||
|
|
@ -47,5 +54,26 @@
|
|||
<script type="text/javascript" src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.tools.min.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.revolution.min.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('/assets/js/view/demo.revolution_slider.js') }}"></script>
|
||||
|
||||
<script>
|
||||
/** CHECKOUT
|
||||
** *********************** **/
|
||||
// New Account show|hide
|
||||
jQuery("#accountswitch").bind("click", function() {
|
||||
jQuery('#newaccount').slideToggle(200);
|
||||
});
|
||||
|
||||
// Shipping Address show|hide
|
||||
jQuery("#shipswitch").bind("click", function() {
|
||||
jQuery('#shipping').slideToggle(200, function() {
|
||||
|
||||
// scroll down to shipping area.
|
||||
if(jQuery('#shipping').is(":visible")) {
|
||||
_scrollTo('#shipping', 150);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,5 +1,43 @@
|
|||
<div id="header" class="sticky clearfix">
|
||||
|
||||
<style>
|
||||
#header li.quick-cart .quick-cart-box {
|
||||
-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
.quick-cart-wrapper span.price {
|
||||
color: #666666;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.quick-cart-wrapper h5 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#header ul.nav-second-main {
|
||||
margin-top: 25px;
|
||||
}
|
||||
@media only screen and (max-width: 992px){
|
||||
|
||||
#header ul.nav-second-main
|
||||
{
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
#header.fixed ul.nav-second-main {
|
||||
margin-top: 8px;
|
||||
}
|
||||
</style>
|
||||
<!-- TOP NAV -->
|
||||
<header id="topNav">
|
||||
<div class="container">
|
||||
|
|
@ -9,6 +47,60 @@
|
|||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
|
||||
<ul class="pull-right nav nav-pills nav-second-main has-topBar">
|
||||
|
||||
<!-- QUICK SHOP CART -->
|
||||
<li class="quick-cart">
|
||||
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative">
|
||||
<span class="badge badge-success btn-xs badge-corner">{{ Yard::instance('shopping')->count() }}</span>
|
||||
<i class="fa fa-shopping-cart"></i>
|
||||
</span>
|
||||
|
||||
|
||||
@if(Yard::instance('shopping')->count())
|
||||
<span class="">{{ \Yard::instance('shopping')->subtotal() }} € </span>
|
||||
@endif
|
||||
</a>
|
||||
<div class="quick-cart-box" style="display: none;">
|
||||
<h4>Warenkorb</h4>
|
||||
|
||||
<div class="quick-cart-wrapper">
|
||||
|
||||
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}"><!-- cart item -->
|
||||
@if($row->options->has('image'))
|
||||
<img src="{{ route('product_image', [$row->options->image]) }}" width="50" height="66" alt="">
|
||||
@else
|
||||
<img src="{{ asset('/assets/images/1x1.png') }}" width="50" height="66" alt="">
|
||||
@endif
|
||||
<h5>{{ $row->name }}</h5>
|
||||
<span class="price">{{ $row->qty }}x <strong>{{ $row->price() }} €</strong></span>
|
||||
|
||||
</a><!-- /cart item -->
|
||||
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
<!-- quick cart footer -->
|
||||
<div class="quick-cart-footer clearfix">
|
||||
<div class="text-left">
|
||||
<strong>Zwischensumme:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->subtotal() }} €</strong>
|
||||
<br>
|
||||
<em style="font-size: 0.9em">inkl. MwSt. zzgl. Versandkosten</em>
|
||||
|
||||
</div>
|
||||
<a href="{{ route('card_show') }}" class="btn btn-primary btn-block mt-3">zum Warenkorb</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- Logo -->
|
||||
<a class="logo pull-left" href="{{ url('/') }}">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<div class="side-nav margin-bottom-60">
|
||||
|
||||
<div class="side-nav-head">
|
||||
|
|
@ -5,14 +6,8 @@
|
|||
<h4>Kategorien</h4>
|
||||
</div>
|
||||
|
||||
<ul class="list-group list-group-bordered list-group-noicon">
|
||||
|
||||
<li class="list-group-item {{ Request::is('produkte/alle-produkte') ? ' active' : '' }}">
|
||||
<a href="{{ url('/produkte/alle-produkte') }}">
|
||||
<span class="size-11 text-muted pull-right">({{ $p_count }})</span>
|
||||
Alle Produkte
|
||||
</a>
|
||||
</li>
|
||||
<ul class="list-group list-group-bordered list-group-noicon">
|
||||
|
||||
@foreach($categories as $category)
|
||||
<li class="list-group-item {{ Request::is('produkte/'.$category->slug.'*') ? ' active' : '' }}">
|
||||
|
|
|
|||
235
resources/views/web/templates/card.blade.php
Normal file
235
resources/views/web/templates/card.blade.php
Normal file
|
|
@ -0,0 +1,235 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
</div>
|
||||
</section>
|
||||
<!-- /PAGE HEADER -->
|
||||
|
||||
<style>
|
||||
div.shop-item {
|
||||
margin-bottom:30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
div.shop-item-buttons .btn-xs{
|
||||
padding: 4px;
|
||||
}
|
||||
.cartContent a.remove_item {
|
||||
background: transparent;
|
||||
}
|
||||
.cartContent .product_name {
|
||||
font-size: 1.15em;
|
||||
}
|
||||
.cartContent .product_name > small {
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.cartContent .head .product_name {
|
||||
min-height: auto;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 1200px) {
|
||||
.cartContent .yard .product_name {
|
||||
padding-bottom: 0;
|
||||
min-height: 60px;
|
||||
width: 60%;
|
||||
}
|
||||
.cartContent .yard .remove_item {
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .yard .total_price {
|
||||
width: auto;
|
||||
padding-top: 30px;
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .yard .item .qty {
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
.cartContent .yard .item.head {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
|
||||
.cartContent .yard .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.cartContent .yard .total_price {
|
||||
padding-top: 30px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.cartContent .yard .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<!-- -->
|
||||
{{ Yard::instance('shopping')->setShipping(5.9) }}
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
<h1>Warenkorb</h1>
|
||||
|
||||
<!-- EMPTY CART -->
|
||||
<!-- <div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<strong>Shopping cart is empty!</strong><br />
|
||||
You have no items in your shopping cart.<br />
|
||||
Click <a href="index.html">here</a> to continue shopping. <br />
|
||||
<span class="label label-warning">this is just an empty cart example</span>
|
||||
</div>
|
||||
</div>-->
|
||||
<!-- /EMPTY CART -->
|
||||
|
||||
|
||||
|
||||
<!-- CART -->
|
||||
<div class="row">
|
||||
|
||||
<!-- LEFT -->
|
||||
<div class="col-lg-9 col-sm-7">
|
||||
|
||||
<h3>Du hast {{ Yard::instance('shopping')->count() }} Artikel in Deinem Warenkorb</h3>
|
||||
|
||||
@if(Yard::instance('shopping')->content()->count())
|
||||
<!-- CART -->
|
||||
{!! Form::open(['url' => route('card_update'), 'class' => 'cartContent clearfix', 'id'=>'']) !!}
|
||||
|
||||
<!-- cart content -->
|
||||
<div id="cartContent">
|
||||
<div class="box-border-shadow">
|
||||
<!-- cart header -->
|
||||
<div class="item head clearfix">
|
||||
<span class="cart_img"></span>
|
||||
<span class="product_name size-15 bold">Produkt</span>
|
||||
<span class="remove_item size-15 bold"></span>
|
||||
<span class="total_price size-15 bold">Preis</span>
|
||||
<span class="qty size-15 bold">Anzahl</span>
|
||||
</div>
|
||||
|
||||
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
|
||||
<div class="item yard">
|
||||
<div class="cart_img pull-left width-100 padding-10 text-left">
|
||||
@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
|
||||
</div>
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}" class="product_name">
|
||||
<span>{{ $row->name }}</span>
|
||||
<small>Lieferzeit: 1-3 Werktage</small>
|
||||
</a>
|
||||
<a href="{{ route('card_remove', [$row->rowId]) }}" class="remove_item"><i class="fa fa-times"></i></a>
|
||||
|
||||
<div class="total_price"><span>{{ $row->subtotal() }} </span> €</div>
|
||||
<div class="qty"><input type="number" value="{{ $row->qty }}" name="quantity[{{$row->rowId}}]" maxlength="3" max="999" min="1" /> × {{ $row->price() }} € </div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
<a href="{{route('card_delete')}}" class="btn btn-default 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>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
<!-- /CART -->
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- RIGHT -->
|
||||
<div class="col-lg-3 col-sm-5">
|
||||
|
||||
@if(Yard::instance('shopping')->content()->count())
|
||||
<h3>Warenkorb Summe</h3>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<a href="{{ route('card_checkout') }}" class="btn btn-primary btn-lg btn-block size-15 mt-4"><i class="fa fa-mail-forward"></i> zur Kasse</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<br><br>
|
||||
<hr>
|
||||
<p><em class="small" style="color: #828282">Alle Preise inkl. gesetzl. Mehrwertsteuer zzgl. Versandkosten, wenn nicht anders beschrieben</em></p>
|
||||
<!-- /CART -->
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@endsection
|
||||
119
resources/views/web/templates/checkout-final.blade.php
Normal file
119
resources/views/web/templates/checkout-final.blade.php
Normal file
|
|
@ -0,0 +1,119 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
</div>
|
||||
</section>
|
||||
<!-- /PAGE HEADER -->
|
||||
|
||||
<style>
|
||||
div.shop-item {
|
||||
margin-bottom:30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
div.shop-item-buttons .btn-xs{
|
||||
padding: 4px;
|
||||
}
|
||||
.cartContent a.remove_item {
|
||||
background: transparent;
|
||||
}
|
||||
.cartContent .product_name {
|
||||
font-size: 1.15em;
|
||||
}
|
||||
.cartContent .product_name > small {
|
||||
line-height: 20px;
|
||||
}
|
||||
@media only screen and (max-width: 1200px) {
|
||||
.cartContent .product_name {
|
||||
padding-bottom: 0;
|
||||
min-height: 60px;
|
||||
width: 60%;
|
||||
}
|
||||
.cartContent .remove_item {
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .total_price {
|
||||
width: auto;
|
||||
padding-top: 30px;
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .item .qty {
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
.cartContent .item.head {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
|
||||
.cartContent .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.cartContent .total_price {
|
||||
padding-top: 30px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.cartContent .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<!-- -->
|
||||
|
||||
<!-- -->
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
<!-- CHECKOUT FINAL MESSAGE -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>Thank you, John Doe.</h3>
|
||||
|
||||
<p>
|
||||
Your order has been placed. In a few moments you will receive an order confirmation email from us.<br />
|
||||
If you like, you can explore more <a href="{{ url('produkte') }}"> products</a>.
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p>
|
||||
Thank you very much for choosing us,<br />
|
||||
<strong> Inc.</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CHECKOUT FINAL MESSAGE -->
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- / -->
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
420
resources/views/web/templates/checkout.blade.php
Normal file
420
resources/views/web/templates/checkout.blade.php
Normal file
|
|
@ -0,0 +1,420 @@
|
|||
@extends('web.layouts.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
||||
<div class="container">
|
||||
</div>
|
||||
</section>
|
||||
<!-- /PAGE HEADER -->
|
||||
|
||||
<style>
|
||||
div.shop-item {
|
||||
margin-bottom:30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
div.shop-item-buttons .btn-xs{
|
||||
padding: 4px;
|
||||
}
|
||||
.cartContent a.remove_item {
|
||||
background: transparent;
|
||||
}
|
||||
.cartContent .product_name {
|
||||
font-size: 1.15em;
|
||||
}
|
||||
.cartContent .product_name > small {
|
||||
line-height: 20px;
|
||||
}
|
||||
@media only screen and (max-width: 1200px) {
|
||||
.cartContent .product_name {
|
||||
padding-bottom: 0;
|
||||
min-height: 60px;
|
||||
width: 60%;
|
||||
}
|
||||
.cartContent .remove_item {
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .total_price {
|
||||
width: auto;
|
||||
padding-top: 30px;
|
||||
clear: right;
|
||||
}
|
||||
.cartContent .item .qty {
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
.cartContent .item.head {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
|
||||
.cartContent .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
.cartContent .total_price {
|
||||
padding-top: 30px;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
.cartContent .total_price {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<!-- -->
|
||||
{{ Yard::instance('shopping')->setShipping(5.9) }}
|
||||
<!-- CART -->
|
||||
<!-- CHECKOUT -->
|
||||
<section>
|
||||
<div class="container">
|
||||
|
||||
{{--
|
||||
<!-- NOT LOGGED IN -->
|
||||
<!-- <div class="mb-30 box-border-shadow p-20">
|
||||
<strong>You are not logged in!</strong>
|
||||
Please, <a href="pack-megashop-sign-in.html">login</a> or <a href="javascript:;" onclick="jQuery('#accountswitch').trigger('click'); _scrollTo('#newaccount', 200);">create an account</a> for later use.
|
||||
</div>
|
||||
-->
|
||||
<!-- /NOT LOGGED IN -->
|
||||
--}}
|
||||
|
||||
|
||||
<!-- CHECKOUT -->
|
||||
<div class="">
|
||||
{!! Form::open(['url' => route('card_checkout_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">
|
||||
<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>
|
||||
|
||||
<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 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="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>
|
||||
|
||||
<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="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>
|
||||
|
||||
|
||||
|
||||
<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="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>
|
||||
</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>
|
||||
</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>
|
||||
|
||||
<!-- 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 -->
|
||||
--}}
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<!-- /CHECKOUT -->
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- /CHECKOUT -->
|
||||
<!-- /CART -->
|
||||
|
||||
|
||||
@endsection
|
||||
|
|
@ -2,6 +2,27 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<style>
|
||||
div.shop-item-price > span {
|
||||
padding: 0;
|
||||
}
|
||||
hr {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.qty input {
|
||||
padding: 3px;
|
||||
margin: 0;
|
||||
border: #ccc 1px solid;
|
||||
width: 60px;
|
||||
margin-right: 3px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
</style>
|
||||
<section class="page-header page-header-xlg parallax parallax-3"
|
||||
style="background-image:url('/assets/images/vision-min.jpg')">
|
||||
<div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
|
||||
|
|
@ -81,32 +102,45 @@
|
|||
|
||||
<!-- ITEM DESC -->
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<br>
|
||||
<!--<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('card_add_post', [$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">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>
|
||||
<div class="shop-item-price text-right">
|
||||
<span class="pull-left"><strong>Inhalt:</strong></span>
|
||||
<span style="font-size: 0.8em">{{ $product->content }}</span>
|
||||
<span style="font-size: 0.8em">{{ $product->contents }}</span>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="shop-item-price text-left">
|
||||
<span class=""><strong>Art.-Nr.:</strong> {{ $product->number }}</span>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<hr/>
|
||||
<div class="shop-item-price text-right">
|
||||
<span class="pull-left"><strong>Art.-Nr.:</strong> {{ $product->number }}</span>
|
||||
{{ $product->getFormattedPrice() }} €
|
||||
|
||||
<hr/>
|
||||
<button class="btn btn-primary pull-right ">In den Warenkorb</button>
|
||||
<br>
|
||||
<hr/>
|
||||
<small class="text-muted">
|
||||
<img src="/assets/images/{{ $product->icons }}" alt=""
|
||||
class="img-responsive">
|
||||
</small>
|
||||
|
||||
<hr/>
|
||||
</div>
|
||||
|
||||
<!-- /ITEM DESC -->
|
||||
|
|
@ -154,8 +188,6 @@
|
|||
</div>
|
||||
<!-- /RIGHT COLUMNS -->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,29 @@
|
|||
</section>
|
||||
<!-- /PAGE HEADER -->
|
||||
|
||||
|
||||
<style>
|
||||
div.shop-item {
|
||||
margin-bottom:30px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
div.shop-item > .thumbnail, .thumbnail {
|
||||
border: none;
|
||||
}
|
||||
div.shop-item-summary {
|
||||
padding: 8px;
|
||||
}
|
||||
div.shop-item-summary h2 a {
|
||||
color: #9aa983;
|
||||
font-size: 1.2em;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
div.shop-item-buttons {
|
||||
padding: 0 8px 10px 8px;
|
||||
}
|
||||
div.shop-item-buttons .btn-xs{
|
||||
padding: 4px;
|
||||
}
|
||||
</style>
|
||||
<!-- -->
|
||||
<section>
|
||||
<div class="container">
|
||||
|
|
@ -32,33 +54,64 @@
|
|||
|
||||
<div class="thumbnail">
|
||||
<!-- product image(s) -->
|
||||
<a class="shop-item-image"
|
||||
href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
|
||||
<a class="shop-item-image" href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
|
||||
@php ($set = 'first')
|
||||
@foreach($product->images as $image)
|
||||
@if($set == 'hover')
|
||||
<img class="img-responsive" src="{{ route('product_image', [$image->slug]) }}" alt="shop {{ $set }} image"/>
|
||||
<img class="img-responsive" src="{{ route('product_image', [$image->slug]) }}" alt="{{ $product->getLang('name') }}"/>
|
||||
@php($set = 'done')
|
||||
@endif
|
||||
|
||||
@if($set == 'first')
|
||||
<img class="img-responsive" src="{{ route('product_image', [$image->slug]) }}" alt="shop {{ $set }} image"/>
|
||||
<img class="img-responsive" src="{{ route('product_image', [$image->slug]) }}" alt="{{ $product->getLang('name') }}"/>
|
||||
@php($set = 'hover')
|
||||
@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>
|
||||
|
||||
<div class="shop-item-summary text-center">
|
||||
|
||||
<div class="shop-item-summary text-center ">
|
||||
<h2 class=""><a href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name') }}</a></h2>
|
||||
|
||||
<!-- rating -->
|
||||
<div class="shop-item-rating-line">
|
||||
<div class="rating rating-5 size-13"><!-- rating-0 ... rating-5 --></div>
|
||||
</div>
|
||||
<!-- /rating -->
|
||||
|
||||
<!-- price -->
|
||||
<div class="shop-item-price">
|
||||
{{ $product->getFormattedPrice() }} €
|
||||
</div>
|
||||
<!-- /price -->
|
||||
</div>
|
||||
|
||||
<!-- buttons -->
|
||||
<div class="shop-item-buttons text-center">
|
||||
<a class="btn btn-default"
|
||||
href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name') }}</a>
|
||||
<div class="shop-item-buttons text-left">
|
||||
<a href="{{ route('card_add_get', [$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
|
||||
</a>
|
||||
<a class="float-right btn btn-primary btn-xs" href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
|
||||
<i class="fa fa-list"></i> Details
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<!-- /buttons -->
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
|
@ -80,5 +133,4 @@
|
|||
</div>
|
||||
</section>
|
||||
<!-- / -->
|
||||
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue