{{ __('Wishlist') }}

@if ((auth('customer')->check() && count($wishlist) > 0 && $wishlist->count() > 0) || Cart::instance('wishlist')->count())
@if (auth('customer')->check()) @foreach ($wishlist as $item) @php $product = $item->product; @endphp @if (EcommerceHelper::isCartEnabled()) @endif @endforeach @else @foreach(Cart::instance('wishlist')->content() as $cartItem) @php $product = app(\Botble\Ecommerce\Repositories\Interfaces\ProductInterface::class)->findById($cartItem->id); @endphp @if (EcommerceHelper::isCartEnabled()) @endif @endforeach @endif
{{ __('Image') }} {{ __('Price') }}
 
{{ $product->name }}
{{ $product->name }} @if (EcommerceHelper::isReviewEnabled()) @php $countRating = $product->reviews()->count(); @endphp @if ($countRating > 0)
({{ $countRating }})
@endif @endif
{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} @endif{{ __('Add to cart') }}
 
{{ $product->name }}
{{ $product->name }} @if (EcommerceHelper::isReviewEnabled()) @php $countRating = $product->reviews()->count(); @endphp @if ($countRating > 0)
({{ $countRating }})
@endif @endif
{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} @endif{{ __('Add to cart') }}
@if (auth('customer')->check())
{!! $wishlist->links() !!}
@endif
@else

{{ __('No product in wishlist!') }}

@endif