Changes Done

This commit is contained in:
devansh bawari 2020-10-19 11:01:56 +05:30
parent f0a61c29cc
commit 5269566ce2
1 changed files with 3 additions and 13 deletions

View File

@ -156,25 +156,15 @@
{!! view_render_event('bagisto.shop.layout.header.compare.after') !!} {!! view_render_event('bagisto.shop.layout.header.compare.after') !!}
{!! view_render_event('bagisto.shop.layout.header.wishlist.before') !!} {!! view_render_event('bagisto.shop.layout.header.wishlist.before') !!}
<a class="wishlist-btn unset" :href="`${isCustomer ? '{{ route('customer.wishlist.index') }}' : '{{ route('velocity.product.guest-wishlist') }}'}`"> <a class="wishlist-btn unset" :href="`{{ route('customer.wishlist.index') }}`">
<i class="material-icons">favorite_border</i> <i class="material-icons">favorite_border</i>
<div class="badge-container" v-if="wishlistCount > 0"> <div class="badge-container" v-if="wishlistCount > 0">
<span class="badge" v-text="wishlistCount"></span> <span class="badge" v-text="wishlistCount"></span>
</div> </div>
<span>{{ __('shop::app.layouts.wishlist') }}</span> <span>{{ __('shop::app.layouts.wishlist') }}</span>
</a> </a>
@endif {!! view_render_event('bagisto.shop.layout.header.wishlist.after') !!}
{!! view_render_event('bagisto.shop.layout.header.compare.after') !!} </div>
{!! view_render_event('bagisto.shop.layout.header.wishlist.before') !!}
<a class="wishlist-btn unset" :href="`{{ route('customer.wishlist.index') }}`">
<i class="material-icons">favorite_border</i>
<div class="badge-container" v-if="wishlistCount > 0">
<span class="badge" v-text="wishlistCount"></span>
</div>
<span>{{ __('shop::app.layouts.wishlist') }}</span>
</a>
{!! view_render_event('bagisto.shop.layout.header.wishlist.after') !!}
</div> </div>
</div> </div>
</script> </script>