@forelse ($lasttwoproducts as $lasttwoproduct)
@empty @endforelse

{{ __('Popular Categories') }}

@foreach($categoriess as $category)

{{ app()->getLocale() === 'ar' ? $category->name_ar : $category->name }}

@forelse ($category->products as $product)

{{ app()->getLocale() === 'ar' ? $product->name_ar : $product->name }}

{{ app()->getLocale() === 'ar' ? 'دأ ' : 'JD' }} @if($product->price_after_discount) {{ $product->price }} {{ $product->price_after_discount }} @else {{ $product->price }} @endif
@empty

{{ __('No products found matching') }}

@endforelse
@endforeach