Change search results layout
This examples shows how you can manage the search results product layout to suit your needs.
window.findifyApiRegistry = [
function (api) {
api.on(api.events.searchRenderedResults, function (apiData) {
var node = apiData.node;
if (node) {
node.setAttribute('class', 'findify-mjs-search-results__main__content__product col-lg-4 col-sm-6 col-xs-6 col-xxs-12');
}
});
}
];
Updated almost 8 years ago