Updates to 03-2025
This commit is contained in:
parent
6167273a48
commit
9b54eb0512
348 changed files with 34535 additions and 5774 deletions
|
|
@ -256,7 +256,6 @@
|
|||
form.submit();
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
console.log(error);
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error.addClass('invalid-feedback d-block'));
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@
|
|||
form.submit();
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
console.log(error);
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error.addClass('invalid-feedback d-block'));
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"><span id="shipping_price_holder">{{ \App\Services\PromotionCart::getCurrentShippingPrice() }}</span> € - Versand mit DHL (1-3 Werktage)</span>
|
||||
<span class="switcher-label"><span id="shipping_price_holder">{{ \App\Services\UserCart::getCurrentShippingPrice() }}</span> € - Versand mit DHL (1-3 Werktage)</span>
|
||||
</label>
|
||||
</div>
|
||||
<div id="error-switchers_shipping" class="text-left"></div>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="form-group col-12 col-md-8 col-lg-6">
|
||||
<select id="show_products_filter" name="show_products_filter" class="form-control selectpicker" data-style="btn-default">
|
||||
{!! HTMLHelper::getCategoriesOptionsByShowOn([], 'Kategorie filtern', ['3']) !!}
|
||||
{!! HTMLHelper::getCategoriesOptionsByShowOn([$first_category_id], 'Kategorie filtern', ['3']) !!}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="swiper mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
@foreach ($shop_products as $product)
|
||||
@php($cartItem = Yard::instance('shopping')->getCartItemByProduct($product->id, false, false))
|
||||
@php($cartItem = Yard::instance('shopping')->getCartItemByProduct($product->id, false, true))
|
||||
@php($qty = isset($cartItem->qty) ? "x".$cartItem->qty : 0)
|
||||
@php($rowId = isset($cartItem->rowId) ? $cartItem->rowId : '')
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<div class="mt-2 pb-3">
|
||||
<button type="button" class="btn btn-primary btn-add-product-shop" data-product_id="{{ $product->id }}" data-row-id="{{ $cartItem->rowId }}">
|
||||
In den Warenkorb <i class="ion ion-md-basket navbar-icon align-middle"></i>
|
||||
<span class="badge badge-cart indicator" id="badge_cart_indicator_{{ $product->id }}">{{ $qty }}</span>
|
||||
<span class="badge-dot badge badge-cart indicator" id="badge_cart_indicator_{{ $product->id }}">{{ $qty }}</span>
|
||||
</button>
|
||||
<div class="p-1 swiper-pagination-distance"></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'shop-form-validations']) !!}
|
||||
<input type="hidden" name="load_url" value="{{ route('web_promotion_modal_load') }}">
|
||||
<div class="layout-content">
|
||||
@include('web.promotion._intro')
|
||||
|
|
@ -29,24 +29,29 @@
|
|||
@include('web.promotion._shipping')
|
||||
|
||||
@include('web.promotion._fairplay')
|
||||
<section id="promotion_cart_holder">
|
||||
|
||||
<section id="user_cart_holder">
|
||||
@include('web.promotion._promotion_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.promotion._invoice_details_quick')
|
||||
@include('web.components._invoice_details_quick')
|
||||
@else
|
||||
@include('web.promotion._invoice_details')
|
||||
@include('web.components._invoice_details')
|
||||
@endif
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-lg-4 col-md-5">
|
||||
<section id="promotion_checkout_holder">
|
||||
@include('web.promotion._checkout')
|
||||
<section id="user_checkout_holder">
|
||||
@include('web.components._checkout')
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -57,11 +62,11 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var iqShoppingShopCart = IqPromotionShopCart.init();
|
||||
var iqShoppingShopCart = IqUserShopCart.init();
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script src="{{ asset('/js/iq-promotion-shop-cart.js') }}?v=2{{ get_file_last_time('/js/iq-promotion-shop-cart.js') }}"></script>
|
||||
<script src="{{ asset('/js/iq-user-shop-cart.js') }}?v=2{{ get_file_last_time('/js/iq-user-shop-cart.js') }}"></script>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@
|
|||
form.submit();
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
console.log(error);
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error.addClass('invalid-feedback d-block'));
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
</div>
|
||||
@endif
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'shop-form-validations']) !!}
|
||||
<div class="layout-content">
|
||||
<div class="container px-3">
|
||||
<div class="container flex-grow-1 container-p-y pb-0">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'user-promotion-form-validations']) !!}
|
||||
{!! Form::open(['url' => route('web_promotion_store', $promotion_user->id), 'class' => 'form-horizontal form-prevent-multiple-submits', 'id' => 'shop-form-validations']) !!}
|
||||
|
||||
<div class="layout-content">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue