@extends('vendors.layout') @includeIf('admin.partials.rtl_style') @section('content')
{{ __('Products') }}
@includeIf('admin.partials.languages')
@if ($title) {{ __('Preview') }} @endif {{ __('Back') }}
@if (count($listing_products) == 0)

{{ __('NO PRODUCT FOUND') . '!' }}

@else
@foreach ($listing_products as $product) @endforeach
{{ __('Title') }} {{ __('Status') }} {{ __('Actions') }}
@php $listing_product_content = App\Models\Listing\ListingProductContent::where( 'listing_product_id', $product->id, ) ->where('language_id', $language->id) ->first(); @endphp @if (!empty($listing_product_content)) {{ strlen(@$listing_product_content->title) > 50 ? mb_substr(@$listing_product_content->title, 0, 50, 'utf-8') . '...' : @$listing_product_content->title }} @else -- @endif
@csrf
@endif
@endsection