We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4940120 commit d898c5fCopy full SHA for d898c5f
view/frontend/web/recommend.js
@@ -199,13 +199,15 @@ define([
199
});
200
} else if (
201
algoliaConfig.recommend.enabledLookingSimilar &&
202
+ config.algoliObjectId &&
203
typeof config.recommendLSContainer !== 'undefined'
204
){
205
let containerValue = '#' + config.recommendLSContainer;
206
recommendJs.lookingSimilar({
207
container: containerValue,
208
recommendClient,
209
indexName,
210
+ objectIDs: config.algoliObjectId,
211
maxRecommendations: config.numOfLookingSimilarItem
212
? parseInt(config.numOfLookingSimilarItem)
213
: algoliaConfig.recommend.limitLookingSimilar,
0 commit comments