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