@extends('ecommerce::frontend.layout.main2') @section('title') {{ $ecommerce_setting->site_title ?? 'My Wishlist' }} @endsection @section('description') {{ $ecommerce_setting->site_description ?? '' }} @endsection @section('content')

{{trans('file.My Wishlist')}}

@if(count($products) > 0)
@foreach($products as $product)
@if($product->image !== null) @php $images = explode(',', $product->image); $product->image = $images[0]; @endphp {{ $product->name }} @else {{ $product->name }} @endif
{{ $product->name }} @if(isset($product->unit)) Unit: {{ $product->unit->unit_name }} @endif
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date))) {{$currency->symbol ?? $currency->code}}{{ number_format($product->promotion_price, 2) }} {{$currency->symbol ?? $currency->code}}{{ number_format($product->price, 2) }} @else {{$currency->symbol ?? $currency->code}}{{ number_format($product->price, 2) }} @endif
@if($product->in_stock == 1) @if(is_null($product->is_variant))
@csrf
@else @endif @else @endif
@endforeach
@else

{{trans('file.You have not added anything to wishlist yet')}}

Continue Shopping
@endif
@endsection @section('script') @endsection