82 lines
2.6 KiB
PHP
82 lines
2.6 KiB
PHP
@extends('web.layouts.layout')
|
|
|
|
@section('content')
|
|
|
|
@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
|
|
|
|
{!! Form::open(['action' => route('web_shop_store', $user_shop->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'shop-form-validations']) !!}
|
|
<input type="hidden" name="load_url" value="{{ route('web_shop_modal_load') }}">
|
|
<div class="layout-content">
|
|
@include('web.shop._intro')
|
|
|
|
<div class="container px-3">
|
|
|
|
@include('web.shop._shop_products')
|
|
|
|
{{-- @include('web.shop._shipping') --}}
|
|
|
|
<section id="user_cart_holder">
|
|
@include('web.shop._shop_cart')
|
|
</section>
|
|
|
|
<section id="">
|
|
@include('web.components._margin_cart')
|
|
</section>
|
|
|
|
|
|
<section>
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-7">
|
|
<section id="invoice_details_holder">
|
|
@if(Yard::instance('shopping')->isQuickShipping())
|
|
@include('web.components._invoice_details_quick')
|
|
@else
|
|
@include('web.components._invoice_details')
|
|
@endif
|
|
</section>
|
|
</div>
|
|
<div class="col-lg-4 col-md-5">
|
|
<section id="user_checkout_holder">
|
|
@include('web.components._checkout')
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<section>
|
|
<div class="row">
|
|
<div class="col-lg-12 text-center">
|
|
<hr>
|
|
{{-- @if($user_shop->pick_up) --}}
|
|
<h3 class="mt-3">Kontaktadresse Deines Beraters</h3>
|
|
{!! nl2br($user_shop->user_address) !!}
|
|
{{-- @endif --}}
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{!! Form::close() !!}
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
var iqShoppingShopCart = IqUserShopCart.init();
|
|
});
|
|
</script>
|
|
@endsection
|
|
|
|
@section('scripts')
|
|
<script src="{{ asset('/js/iq-user-shop-cart.js') }}?v=2{{ get_file_last_time('/js/iq-user-shop-cart.js') }}"></script>
|
|
@endsection
|