@php Theme::asset()->container('footer')->usePath()->add('range-slider', 'js/range-slider.js'); $listingLayout = products_listing_layout(); $hasFilters = EcommerceHelper::hasAnyProductFilters(); @endphp {!! apply_filters('ads_render', null, 'listing_page_before') !!}
$listingLayout === 'right-sidebar' && $hasFilters])>
$listingLayout !== 'no-sidebar' && $hasFilters, 'col-12' => $listingLayout === 'no-sidebar'])> @include(Theme::getThemeNamespace('views.ecommerce.includes.filters-sidebar'))
@if ($listingLayout !== 'no-sidebar' && $hasFilters)
@endif
@include(EcommerceHelper::viewPath('includes.product-listing-page-description')) @include(EcommerceHelper::viewPath('includes.product-filters-top'))
@include(Theme::getThemeNamespace('views.ecommerce.includes.product-items'))
@if ($listingLayout !== 'no-sidebar')
@endif
{!! apply_filters('ads_render', null, 'listing_page_after') !!}