diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php index 9bb81aa33..c35133f56 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php @@ -50,10 +50,12 @@ @include ('shop::products.price', ['product' => $product]) -
- - {{ __('velocity::app.products.ratings', ['totalRatings' => $totalReviews ]) }} -
+ @if( $totalReviews ) +
+ + {{ $totalReviews }} Ratings +
+ @endif
@include ('shop::products.add-to-cart', [ diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php index 70478922b..8b012e830 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/toolbar.blade.php @@ -160,10 +160,6 @@ methods: { toggleLayeredNavigation: function ({event, actionType}) { - // this.$root.navContainer = true; - // this.$root.responsiveSidebarTemplate = `
- // Hello World - //
`; this.layeredNavigation = !this.layeredNavigation; } }