@if (count($products) > 0) @foreach ($products as $key => $product)
{{$product['name']}}
{{ translate('Price') }}: {{ webCurrencyConverter(amount:$product->unit_price-(getProductDiscount(product: $product, price: $product->unit_price))) }} @if($product->discount > 0) {{ webCurrencyConverter(amount: $product->unit_price) }} @endif @if($product?->product_type !== 'digital') {{ translate('Stock') }}: {{ $product->current_stock }} @endif
{{ translate('Category') }}: {{isset($product->category) ? $product->category->name : translate('category_not_found') }} @if($product?->product_type !== 'digital') {{ translate('Brand') }}: {{isset($product->brand) ? $product->brand->name : translate('brands_not_found') }} @endif @if ($product->added_by == "seller") {{ translate('shop') }}: {{isset($product->seller) ? $product->seller->shop->name : translate('shop_not_found') }} @else {{ translate('shop') }}: {{$web_config['company_name']}} @endif
@endforeach @else
{{translate('image_description')}}

{{ translate('no_product_found')}}

@endif