Skip to content

Commit 906b615

Browse files
committed
Updated InstantSeach page searchbox config
1 parent b017ab4 commit 906b615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/web/instantsearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ requirejs(['algoliaBundle', 'Magento_Catalog/js/price-utils'], function (algolia
332332
placeholder: algoliaConfig.translations.searchFor,
333333
showSubmit: false,
334334
queryHook : function(inputValue, search) {
335-
if (algoliaConfig.isSearchPage && algoliaConfig.request.categoryId.length <= 0) {
335+
if (algoliaConfig.isSearchPage && algoliaConfig.request.categoryId.length <= 0 && algoliaConfig.request.landingPageId.length <= 0) {
336336
$(".page-title-wrapper span.base").html(algoliaConfig.translations.searchTitle+": '"+inputValue+"'");
337337
}
338338
return search(inputValue);

0 commit comments

Comments
 (0)