user shops + shipping

This commit is contained in:
Kevin Adametz 2019-01-06 01:40:44 +01:00
parent ccc2af4bf7
commit d4f6a774d0
53 changed files with 2326 additions and 814 deletions

View file

@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>mivita care</title>
<meta name="description" content="" />
<meta name="Author" content="" />
<!-- mobile settings -->
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<!-- WEB FONTS : use %7C instead of | (pipe) -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700" rel="stylesheet" type="text/css" />
<!-- CORE CSS -->
<!-- REVOLUTION SLIDER -->
<link href="{{ asset('/assets/plugins/slider.revolution/css/extralayers.css') }}" rel="stylesheet" type="text/css" />
<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">
@yield('layout-content')
<!-- SCROLL TO TOP -->
<a href="#" id="toTop"></a>
<!-- JAVASCRIPT FILES -->
<script type="text/javascript">var plugin_path = "{{ url('/assets/plugins/').'/' }}"</script>
<script type="text/javascript" src="{{ asset('/assets/plugins/jquery/jquery-2.2.3.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/scripts.js') }}"></script>
<!-- <script type="text/javascript" src="{{ asset('/assets/js/jquery.contact-form.js') }}"></script> -->
<!-- REVOLUTION SLIDER -->
<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>

View file

@ -0,0 +1,62 @@
<div class="alert alert-success bordered-bottom nomargin">
<div class="container">
<div class="row">
<div class="col-md-12"><!-- left text -->
<p class="font-lato weight-400 size-20">
Du möchtest Kontakt aufnehmen?
</p>
{!! $user_shop->info !!}
</div><!-- /left text -->
</div>
</div>
</div>
<!-- /CALLOUT -->
<style>div.row > div img.img-responsive { width: auto } </style>
<!-- FOOTER -->
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-xs-4">
<!-- Footer Logo -->
<img class="footer-logo img-responsive" src="{{asset('/assets/images/logo_mivita.png')}}" alt=""/>
</div>
<div class="col-xs-4">
<!-- Footer Logo -->
<img class="footer-logo img-responsive" src="{{asset('/assets/images/logo_bio.png')}}" alt=""/>
</div>
<div class="col-xs-4">
<!-- Footer Logo -->
<img class="footer-logo img-responsive" src="{{asset('/assets/images/logo_derma.png')}}" alt=""/>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<ul class="pull-right nomargin list-inline mobile-block">
<li class="{{ Request::is('data_protected') ? ' active' : '' }}"><a
href="{{ url('/data_protected') }}">Datenschutzerklärung</a></li>
<li>&bull;</li>
<li class="{{ Request::is('imprint') ? ' active' : '' }} "><a
href="{{ url('/imprint') }}">Impressum</a></li>
</ul>
&copy; All Rights Reserved, mivita.care
</div>
</div>
</footer>
<!-- /FOOTER -->

View file

@ -0,0 +1,135 @@
<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">
<!-- Mobile Menu Button -->
<button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
<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>
&nbsp;
@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(Util::getPostRoute().'card_show', Util::addRoute()) }}" class="btn btn-primary btn-block mt-3">zum Warenkorb</a>
</div>
</div>
</li>
</ul>
<!-- Logo -->
<a class="logo pull-left" href="{{ url('/') }}">
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
</a>
<div class="navbar-collapse pull-right nav-main-collapse collapse">
<nav class="nav-main">
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
<li class="{{ Request::is('/') ? ' active' : '' }}">
<a href="/">
{{ $user_shop->name }} Shop
</a>
</li>
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}">
<a href="{{url('/produkte/alle-produkte')}}/">
Produktwelt
</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<!-- /Top Nav -->
</div>

View file

@ -0,0 +1,23 @@
@extends('web.user.layouts.application')
@section('layout-content')
@include('web.user.layouts.includes.header')
<!-- wrapper -->
<div id="wrapper">
@yield('content')
<!-- /FOOTER -->
@include('web.user.layouts.includes.footer')
</div>
<!-- /wrapper -->
@endsection