diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index e2ed35ccd..021539dd6 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -168,9 +168,10 @@ class Cart { if (isset($cartProduct['parent_id']) && $cartItem->parent_id != $parentCartItem->id) { $cartItem = $this->cartItemRepository->create(array_merge($cartProduct, ['cart_id' => $cart->id])); } else { - if ($product->getTypeInstance()->showQuantityBox() === false) { + if ($cartItem->product->getTypeInstance()->showQuantityBox() === false) { return ['warning' => __('shop::app.checkout.cart.integrity.qty_impossible')]; } + $cartItem = $this->cartItemRepository->update($cartProduct, $cartItem->id); } } diff --git a/packages/Webkul/Velocity/src/Resources/views/admin/content/content-type/category.blade.php b/packages/Webkul/Velocity/src/Resources/views/admin/content/content-type/category.blade.php index 087d37296..6fd9314e3 100644 --- a/packages/Webkul/Velocity/src/Resources/views/admin/content/content-type/category.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/admin/content/content-type/category.blade.php @@ -6,14 +6,23 @@ {{ __('velocity::app.admin.contents.content.category-slug') }} + @php + $pageTarget = isset($locale) ? (old($locale)['page_link'] ?? (isset($content) ? $content->translate($locale)['page_link'] : '')) : ''; + @endphp + +======= + value="{{ $pageTarget }}" + data-vv-as=""{{ __('velocity::app.admin.contents.content.page-link') }}"" /> +>>>>>>> upstream/master @{{ errors.first('page_link') }} @@ -26,7 +35,7 @@ @php - $linkTarget = isset($locale) ? (old($locale)['link_target'] ?? $content->translate($locale)['link_target']) : ''; + $linkTarget = isset($locale) ? (old($locale)['link_target'] ?? (isset($content) ? $content->translate($locale)['link_target'] : '')) : ''; @endphp @{{ errors.first('password') }} - +======= +
+ +======= +
+ + +
+ + +
+ +
+ + @{{ errors.first('gender') }} +
+
+ +
+ + +
+ + + + @{{ errors.first('date_of_birth') }} + +
+
+ +
+ + +
+ + @{{ errors.first('email') }} +
+
+ +
+ + +
+ +
+
+ +
+ + +
+ + + + @{{ errors.first('password') }} + +
+
+ +
+ + +
+ + + + @{{ errors.first('password_confirmation') }} + +
+
+ + + +
+>>>>>>> upstream/master {!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!} @endsection \ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/home/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/home/index.blade.php index d12f5a5fc..c068c215f 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/home/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/home/index.blade.php @@ -40,6 +40,15 @@ @endif @endsection +@push('css') + +@endpush + @section('content-wrapper') @include('shop::home.slider') @endsection diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/index.blade.php index 7901ef55a..bd1fa7285 100755 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/index.blade.php @@ -14,6 +14,11 @@ @push('css') @endpush @@ -50,10 +58,19 @@ @include ('shop::products.price', ['product' => $product]) +<<<<<<< HEAD
{{ __('velocity::app.products.ratings', ['totalRatings' => $totalReviews ]) }}
+======= + @if( $totalReviews ) +
+ + {{ $totalReviews }} Ratings +
+ @endif +>>>>>>> upstream/master
@include ('shop::products.add-to-cart', [ diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php index 70478922b..8b012e830 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php @@ -160,10 +160,6 @@ methods: { toggleLayeredNavigation: function ({event, actionType}) { - // this.$root.navContainer = true; - // this.$root.responsiveSidebarTemplate = `
- // Hello World - //
`; this.layeredNavigation = !this.layeredNavigation; } }