@extends('user-front.layout') @section('breadcrumb_title', $pageHeading->wishlist_page ?? __('Wishlist')) @section('page-title', $pageHeading->wishlist_page ?? __('Wishlist')) @section('content')
@includeIf('user-front.customer.side-navbar')
@if (count($wishlist) > 0)
@foreach ($wishlist as $wishlistItem) @php $lang = $language->id; $item = \App\Models\User\UserItemContent::where([ ['item_id', $wishlistItem->item_id], ['user_id', $user_id], ]) ->where('language_id', '=', $lang) ->with([ 'variations' => function ($q) use ($lang) { $q->where('language_id', '=', $lang); }, 'item', ]) ->first(); @endphp @if ($item) @php $flash_info = flashAmountStatus($item->item->id, $item->item->current_price); $product_current_price = $flash_info['amount']; $flash_status = $flash_info['status']; @endphp @endif @endforeach
{{ $keywords['Product'] ?? __('Product') }} {{ $keywords['Unit Price'] ?? __('Unit Price') }} {{ $keywords['Stock'] ?? __('Stock') }} {{ $keywords['Action'] ?? __('Action') }}
{{ truncateString($item->title, 55) }}
@if ($shop_settings->item_rating_system == 1)
({{ reviewCount($item->item->id) }})
@endif

{{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($product_current_price)) }}

@if ($item->item->type == 'physical') @php $varitaion_stock = VariationStock($item->item->id); @endphp @if ($varitaion_stock['has_variation'] == 'yes') @if ($varitaion_stock['stock'] == 'yes') {{ $keywords['In Stock'] ?? __('In Stock') }} @else {{ $keywords['Out of Stock'] ?? __('Out of Stock') }} @endif @else @if ($item->item->stock > 0) {{ $keywords['In Stock'] ?? __('In Stock') }} @else {{ $keywords['Out of Stock'] ?? __('Out of Stock') }} @endif @endif @else {{ $keywords['In Stock'] ?? __('In Stock') }} @endif
@if ($shop_settings->catalog_mode != 1) @endif {{--
--}} {{--
--}}
@else

{{ $keywords['No Wishlist Item Found'] ?? __('No Wishlist Item Found') }}

{{ $keywords['Back to Shop'] ?? __('Back to Shop') }}
@endif
{{-- Variation Modal Starts --}} @endsection