{{-- "Browse Categories" mega dropdown — used by header style-2 --}} @if (is_plugin_active('ecommerce')) @php $rootCategories = app(\Botble\Ecommerce\Repositories\Interfaces\ProductCategoryInterface::class) ->advancedGet([ 'condition' => ['parent_id' => 0, 'status' => 'published'], 'with' => ['slugable', 'children.slugable'], 'take' => 12, ]); @endphp