Merge pull request #5975 from Anmol-Chauhan/fixed-wish_compare-multitime-issue

fixed #5968 issue
This commit is contained in:
Glenn Hermans 2022-03-10 11:39:23 +01:00 committed by GitHub
commit d1c0139da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 29 deletions

View File

@ -29,12 +29,6 @@
</div>
<div class="right-vc-header col-sm-6 col-xs-12">
<a href="{{ auth()->guard('customer')->check() ? route('velocity.customer.product.compare') : route('velocity.product.compare') }}" class="compare-btn unset">
<i class="material-icons">compare_arrows</i>
</a>
<a href="{{ route('customer.wishlist.index') }}" class="wishlist-btn unset">
<i class="material-icons">favorite_border</i>
</a>
<a class="unset cursor-pointer">
<i class="material-icons">search</i>
</a>
@ -163,11 +157,7 @@
</a>
</template>
<template v-slot:top-header>
@include('velocity::shop.layouts.particals.compare', ['isText' => false])
@include('velocity::shop.layouts.particals.wishlist', ['isText' => false])
</template>
<template v-slot:search-bar>
<div class="row">

View File

@ -76,24 +76,6 @@
<a href="{{ route('customer.orders.index') }}" class="unset">{{ __('velocity::app.shop.general.orders') }}</a>
</li>
@php
$showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false;
$showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false;
@endphp
@if ($showWishlist)
<li>
<a href="{{ route('customer.wishlist.index') }}" class="unset">{{ __('shop::app.header.wishlist') }}</a>
</li>
@endif
@if ($showCompare)
<li>
<a href="{{ route('velocity.customer.product.compare') }}" class="unset">{{ __('velocity::app.customer.compare.text') }}</a>
</li>
@endif
<li>
<form id="customerLogout" action="{{ route('customer.session.destroy') }}" method="POST">
@csrf