Guide
Dashboard/KMC Settings
No Results Customisations
1 min
{ "tab" "examples", "url" "https //js klevu com/klevu js v1/klevu js api/{{js api key}} json", "name" "no results customisations", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "kind" "required", "name" "js api key", "type" "string", "description" "your public klevu js api key \n" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "y1vx38kzqptilmsufafm ", "code" "{\n \\"klevu showbannerads\\" true,\n \\"klevu multiselectfilters\\" true,\n \\"klevu abtestactive\\" false,\n \\"klevu useranalyticsdomain\\" \\"stats klevu com\\",\n \\"klevu uc useroptions\\" {\n \\"showrolloverimage\\" false,\n \\"showproductswatches\\" false,\n \\"enablepersonalisationincatnav\\" false,\n \\"showratingscountoncategorypage\\" false,\n \\"outofstockcaption\\" \\"sold out\\",\n \\"noresultsoptions\\" {\n \\"showpopularproducts\\" true,\n \\"productsheading\\" \\"you may like \\",\n \\"showpopularkeywords\\" true,\n \\"messages\\" \[\n {\n \\"showforterms\\" \[\n \\"jsbueruru\\"\n ],\n \\"message\\" \\"\<a href=\"http \/\/klevu com\">klevu<\/a>\\"\n },\n {\n \\"showforterms\\" null,\n \\"message\\" \\"oh no! we can\'t find \<b>#<\/b> \</br>please visit our website \<a href=\"https \/\/klevu com\"> klevu com <\/a>\\"\n }\n ],\n \\"banners\\" \[\n {\n \\"showforterms\\" \[\n \\"teeees\\"\n ],\n \\"showonlandingpage\\" true,\n \\"redirecturl\\" \\"https //demo ksearchmisc com/klevusearch/men/shirts/plaid cotton shirt 452 html\\",\n \\"showonquicksearch\\" true,\n \\"bannerimageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/wysiwyg/homepage three column promo 03 png\\",\n \\"bannerref\\" 1187\n },\n {\n \\"showforterms\\" null,\n \\"showonlandingpage\\" true,\n \\"redirecturl\\" \\"https //demo ksearchmisc com/klevusearch/men/shirts html\\",\n \\"showonquicksearch\\" true,\n \\"bannerimageurl\\" \\"https //demo ksearchmisc com/klevusearch/skin/frontend/base/default/images/klevubanner/klevu banner ad shirt new\ jpg\\",\n \\"bannerref\\" 993\n }\n ]\n },\n \\"noimageurl\\" \\"/klevu js v1/img 1 1/place holder jpg\\",\n \\"showratingsoncategorypage\\" true,\n \\"showtrendingproductscaption\\" \\"trending products\\",\n \\"enablepersonalisationinsearch\\" false,\n \\"isfullimageurlprovided\\" false,\n \\"showsearchboxonlandingpage\\" false,\n \\"showrecentlyvieweditemscaption\\" \\"recently viewed\\",\n \\"priceinterval\\" \\"500\\",\n \\"priceformatter\\" {\n \\"thousandseparator\\" \\",\\",\n \\"decimalplaces\\" \\"0\\",\n \\"decimalseparator\\" \\" \\",\n \\"appendcurrencyatlast\\" false,\n \\"currencysymbol\\" \\"$\\"\n },\n \\"showratingscountonsearchresultslandingpage\\" false,\n \\"showrecentlyvieweditems\\" true,\n \\"showtrendingproducts\\" true,\n \\"showratingsonquicksearches\\" true,\n \\"showratingscountonquicksearches\\" false,\n \\"showratingsonsearchresultslandingpage\\" true,\n \\"showfiltersinmobile\\" false\n },\n \\"klevu cmsanalyticsdomain\\" \\"stats klevu com\\",\n \\"klevu showoutofstock\\" true,\n \\"klevu logofreesearch\\" true,\n \\"klevu layoutview\\" \\"grid\\",\n \\"klevu showpopuralterms\\" false,\n \\"klevu showproductcode\\" true,\n \\"klevu showpopularsearches\\" true,\n \\"klevu cmsapikey\\" \\"klevu 14551849541532921\\",\n \\"klevu categorysearchenabled\\" true,\n \\"klevu showpriceslider\\" true,\n \\"klevu addtocartenabled\\" false,\n \\"klevu productstoshowinslimlayout\\" \\"4\\",\n \\"klevu cmsenabled\\" true,\n \\"klevu filtersonleft\\" true,\n \\"klevu showprices\\" true,\n \\"klevu issearchactive\\" true,\n \\"klevu filtersenabled\\" true,\n \\"klevu fluidlayoutenabled\\" true,\n \\"klevu webstorepopularterms\\" \[\n \\"jeans\\",\n \\"denims\\",\n \\"dresss\\",\n \\"dresses\\",\n \\"pall\\"\n ],\n \\"klevu cmssearchdomain\\" \\"eucs2 klevu com\\",\n \\"klevu lookfordatainsamefeed\\" true,\n \\"klevu popularproductsofsite\\" \[\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/w/s/wsd013t 1 jpg\\",\n \\"name\\" \\"lafayette convertible dress\\",\n \\"id\\" \\"425 310\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/lafayette convertible dress html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/a/b/abl005a 1 jpg\\",\n \\"name\\" \\"roller suitcase\\",\n \\"id\\" \\"375\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/roller suitcase html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/w/s/wsd008t 1 jpg\\",\n \\"name\\" \\"ludlow sheath dress\\",\n \\"id\\" \\"424 309\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/ludlow sheath dress html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/4/1/41cwpqsxuil jpg\\",\n \\"name\\" \\"apple ipad mini 2 tablet (7 9 inch, 32 gb, wi fi only), silver\\",\n \\"id\\" \\"898\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/apple ipad mini 2 tablet 7 9 inch 32 gb wi fi only silver html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/a/b/abl0006a 4 jpg\\",\n \\"name\\" \\"classic hardshell suitcase\\",\n \\"id\\" \\"436 541\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/classic hardshell suitcase 591 html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/p/m/pmo000a 5 jpg\\",\n \\"name\\" \\"thomas overcoat\\",\n \\"id\\" \\"808 570\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/thomas overcoat html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/a/b/abl003b 1 jpg\\",\n \\"name\\" \\"broad st flapover briefcase\\",\n \\"id\\" \\"373\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/flapover briefcase html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/p/w/pwt001a 1 jpg\\",\n \\"name\\" \\"gans trench coat\\",\n \\"id\\" \\"832 713\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/gans trench coat html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/s/h/shm003a 5 jpg\\",\n \\"name\\" \\"lenox boot\\",\n \\"id\\" \\"867 767\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/lenox boot html\\"\n },\n {\n \\"imageurl\\" \\"https //demo ksearchmisc com/klevusearch/media/klevu images/m/s/msj009t 3 jpg\\",\n \\"name\\" \\"sullivan sport coat\\",\n \\"id\\" \\"405 242\\",\n \\"url\\" \\"https //demo ksearchmisc com/klevusearch/oxford sport coat 456 html\\"\n }\n ],\n \\"klevulayoutversion\\" \\" 1 1\\",\n \\"klevu loadmapfile\\" true,\n \\"klevu layouttype\\" \\"slim\\",\n \\"klevu apidomain\\" \\"api ksearchnet com\\",\n \\"klevu usersearchdomain\\" \\"eucs2 klevu com\\",\n \\"klevu showrecentserches\\" true,\n \\"klevu userjavascriptdomain\\" \\"js klevu com\\"\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "y1vx38kzqptilmsufafm " }, "examples" { "languages" \[ { "id" "3adeysjml2tq9wyhsdiju", "code" "curl location request get 'https //js klevu com/klevu js v1/klevu js api/klevu 14551849541532921 json'", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "3adeysjml2tq9wyhsdiju" }, "description" "this api call will retrieve the klevu site specific data which also include the popular products the popular products can be found in the field klevu popularproductsofsite \n", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }