From 4764c75305d5cd7c61b999914debfedf0c293ea3 Mon Sep 17 00:00:00 2001 From: Devansh Date: Fri, 6 May 2022 12:40:47 +0530 Subject: [PATCH] Wishlist And Compare Added --- .../views/layouts/header/index.blade.php | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/packages/Webkul/Shop/src/Resources/views/layouts/header/index.blade.php b/packages/Webkul/Shop/src/Resources/views/layouts/header/index.blade.php index dc18294ee..e16f6964d 100755 --- a/packages/Webkul/Shop/src/Resources/views/layouts/header/index.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/layouts/header/index.blade.php @@ -61,7 +61,7 @@ $showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false @endphp - @php + @php $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; @endphp @@ -128,14 +128,28 @@ + +
+ + @if ($showWishlist) +
  • + + {{ __('shop::app.header.wishlist') }} + +
  • + @endif + + @if ($showCompare) +
  • + + {{ __('shop::app.customer.compare.text') }} + +
  • + @endif @endguest @auth('customer') - @php - $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; - @endphp -