From 822b86e126c19a0c6316d24242a120d725960f5f Mon Sep 17 00:00:00 2001 From: mohd asif Date: Thu, 16 Jul 2020 12:16:13 +0530 Subject: [PATCH] fixed issue 3311 in default theme --- .../Webkul/Shop/src/Resources/views/products/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Webkul/Shop/src/Resources/views/products/index.blade.php b/packages/Webkul/Shop/src/Resources/views/products/index.blade.php index 6a4df8163..5247d65c2 100755 --- a/packages/Webkul/Shop/src/Resources/views/products/index.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/products/index.blade.php @@ -46,9 +46,9 @@ @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) getAll($category->id); ?> - @if ($products->count()) + @include ('shop::products.list.toolbar') - @include ('shop::products.list.toolbar') + @if ($products->count()) @inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')