@extends('frontend.layouts.app') @section('content')

{{translate("wishlist product")}}

@if(auth_user('web')) {{translate('Dashboard')}} @endif
@forelse($wishlists as $wishlist) @if($wishlist->product) @endif @empty @endforelse
{{translate("Product")}} {{translate("Qty")}} {{translate("Price")}} {{translate("Discount Price")}} {{translate('Stock')}} {{translate("Actions")}}
{{$wishlist->product->name}}

{{$wishlist->product->name}}

@php echo show_ratings($wishlist->product->review->avg('ratings')) @endphp
@php $randNum = rand(6666,10000000); $randNum = $randNum."wish".$randNum; @endphp
{{short_amount($wishlist->product->stock->first()?$wishlist->product->stock->first()->price:$product->price)}} @if(($wishlist->product->discount_percentage) > 0) {{short_amount(cal_discount($wishlist->product->discount_percentage,$wishlist->product->stock->first()->price))}} @else {{translate("N/A")}} @endif @if($wishlist->product->stock->isNotEmpty()) {{translate('Instock')}} @else {{translate('Sold Out')}} @endif
@php $product = $wishlist->product; $slug = $product->slug ? $product->slug : make_slug($product->name); @endphp
{{translate('No Data Found')}}
{{$wishlists->links()}}
@endsection @push('scriptpush') @endpush