From f80110a88726ce7179de65cd6ec3e8892b70c727 Mon Sep 17 00:00:00 2001 From: prateek srivastava Date: Fri, 25 Feb 2022 15:11:38 +0530 Subject: [PATCH] issue #5752 fixed --- .../views/shop/checkout/cart/index.blade.php | 33 ++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php index 4201220d4..cc201e28d 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php @@ -222,12 +222,11 @@ @endif
- @include ('shop::products.price', ['product' => $product]) - + @include ('shop::products.price', ['product' => $product])
-
+
@if ($item->product->getTypeInstance()->showQuantityBox() === true) @endif
+
-
+
+
+ @auth('customer') + @if ($showWishlist) + @if ($item->parent_id != 'null' || $item->parent_id != null) +
+ @include('shop::products.wishlist', [ + 'route' => route('shop.movetowishlist', $item->id), + 'text' => "" + ]) +
+ @else +
+ @include('shop::products.wishlist', [ + 'route' => route('shop.movetowishlist', $item->child->id), + 'text' => "" + ]) +
+ @endif + @endif + @endauth +
+ +
delete @@ -263,7 +286,7 @@ {{ __('shop::app.checkout.cart.update-cart') }}
- + {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!}