@php $count = core()->getConfigData('catalog.products.homepage.no_of_new_product_homepage'); $count = $count ? $count : 10; $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr'; @endphp {!! view_render_event('bagisto.shop.new-products.before') !!} {!! view_render_event('bagisto.shop.new-products.after') !!}