@php Theme::asset()->usePath() ->add('custom-scrollbar-css', 'plugins/mcustom-scrollbar/jquery.mCustomScrollbar.css'); Theme::asset()->container('footer')->usePath() ->add('custom-scrollbar-js', 'plugins/mcustom-scrollbar/jquery.mCustomScrollbar.js', ['jquery']); @endphp
@php $categories = ProductCategoryHelper::getProductCategoriesWithIndent() ->where('status', \Botble\Base\Enums\BaseStatusEnum::PUBLISHED); @endphp @if (count($categories) > 0)
{{ __('By :name', ['name' => __('categories')]) }}
@foreach($categories as $category) {!! $category->indent_text !!}id, request()->input('categories', []))) checked @endif>
@endforeach
@endif @php $brands = get_all_brands(['status' => \Botble\Base\Enums\BaseStatusEnum::PUBLISHED], [], ['products']); @endphp @if (count($brands) > 0)
{{ __('By :name', ['name' => __('Brands')]) }}
@foreach($brands as $brand) id, request()->input('brands', []))) checked @endif>
@endforeach
@endif @php $tags = app(\Botble\Ecommerce\Repositories\Interfaces\ProductTagInterface::class)->advancedGet([ 'condition' => ['status' => \Botble\Base\Enums\BaseStatusEnum::PUBLISHED], 'withCount' => ['products'], 'order_by' => ['products_count' => 'desc'], 'take' => 20, ]); @endphp @if (count($tags) > 0)
{{ __('By :name', ['name' => __('tags')]) }}
@foreach($tags as $tag) id, request()->input('tags', []))) checked @endif>
@endforeach
@endif
{{ __('By :name', ['name' => __('Price')]) }}
{{ __('Range:') }}
{{ __('Advanced filters') }}
{{ __('Clear All Filter') }}