@php request()->query->remove('new'); request()->query->add([ 'featured' => 1, 'order' => 'rand', 'limit' => request()->get('count') ?? core()->getConfigData('catalog.products.homepage.no_of_featured_product_homepage'), ]); $products = app(\Webkul\Product\Repositories\ProductRepository::class)->getAll(); @endphp @if ($products->count()) @endif