{{-- @dd($seller) --}} @php use App\Services\MediaService; $img = app(MediaService::class)->getMediaImageUrl($seller[0]->logo, 'SELLER_IMG_PATH'); $img = app(MediaService::class)->dynamic_image($img, 230); use App\Services\StoreService; @endphp
product
  • {{ labels('front_messages.seller', 'Seller') }}
    {{ $seller_details['username'] ?? '' }}
  • {{ labels('front_messages.products', 'Products') }}
    {{ count($products['product']) }} {{ labels('front_messages.products', 'Products') }}
  • {{ labels('front_messages.ratings', 'Ratings') }}
    {{ $seller[0]->rating }}

{{ labels('front_messages.products', 'Products') }}

@php $store_settings = app(StoreService::class)->getStoreSettings(); @endphp @if (count($products['product']) >= 1)
@foreach ($products['product'] as $details) @php $store_settings = app(StoreService::class)->getStoreSettings(); $component = getProductDisplayComponent($store_settings); $details = (object) $details; @endphp @endforeach
@else @php $title = labels('front_messages.seller_dont_have_any_products', 'Seller Don\'t Have Any Products'); @endphp @endif
{!! $products['links'] !!}