diff --git a/view/frontend/web/js/template/autocomplete/products.js b/view/frontend/web/js/template/autocomplete/products.js index 31a47d295..358b08343 100644 --- a/view/frontend/web/js/template/autocomplete/products.js +++ b/view/frontend/web/js/template/autocomplete/products.js @@ -34,6 +34,10 @@ define([], function () { }, getFooterHtml: function ({html, ...resultDetails}) { + if( Object.keys(resultDetails).length < 1 ) { + return html; + } + return html``;