website logo
Product FeedCommunity Forum
API Docs
Template JS
Headless SDK
Navigate through spaces
⌘K
Introduction
Getting Started
Quickstart : Smart Search
Quickstart : Smart Category Merchandising
Quickstart : Smart Recommendations
Quickstart : Moi
Apps/Plug-ins
Guide
Structure
Configuration
JS Library
Versioning
Template Reference
Build UI
Custom Templates
Modify Request
Modify Response
Modify Recommendations
Styling CSS
Analytics/Tracking
How To
Add Filters To URL
Add Pagination To URL
Add-To-Cart Function
Customer Groups
Facet Option Order
Facet Show/Hide
Infinite Scroll Results
Items Per Page
Magento B2B MSI
Multi-Currency
Ratings / Reviews
Recs Fallback Query
SortBy Options
Voice Search
Docs powered by
Archbee
Getting Started
Apps/Plug-ins

Magento

8min



The Klevu Template JS is included with the Klevu Magento Extension (as of the extension version 2.5.0)

Smart Search Module

The recommended way to getup and running using Klevus Magento Search Module is installing via composer.

You can find detailed installation steps on the Klevu Knowledgebase article for installing the Klevu Magento Extension

The integration will place a number of Klevu modules into the Magento vendor/klevu directory.



Smart Category Merchandsing Module

The Klevu Smart Category Merchandising add-on is available to install via composer.

Setup instructions are detailed on the Knowledgebase article for Integrating Smart Category Merchandising on Magento 2



Smart Recommendations Module

Klevu Smart Recommendations integration options are covered in the Knowledgebase guide: Smart Recommendations Integration Guide for Magento



Enabling Template JS

Navigate to Magento Admin > Stores > Configuration > Klevu Search > Developer Settings where you will find the following setting:

Select JS Library Theme
Select JS Library Theme




  • Change this value to JSv2 as required for the current store.
  • Select Klevu JS Theme for Search (and Category pages if applicable).
  • Flush the Magento cache.

The Klevu Template JS will now be active for the store.



Customizations

There are a number of ways to implement the Klevu Template customization overrides depending on your current Magento Theme structure and preferences.

Please see Custom Overrides for the prerequisite details on preparing for Klevu JS overriding.

Never make changes to the Klevu extension files directly as this will break the upgrade path when updates are released.

Override Example Module

Klevu engineers have provided an example module intended to facilitate overriding the Template JS components for search query and display. You can find this publicly available on gihub.

https://github.com/klevu/themev2-customisation-module





Magento 1

Please see our Knolwedgebase article for integration with Magento V1

Updated 03 Mar 2023
Did this page help you?
PREVIOUS
BigCommerce
NEXT
Structure
Docs powered by
Archbee
TABLE OF CONTENTS
Smart Search Module
Smart Category Merchandsing Module
Smart Recommendations Module
Enabling Template JS
Customizations
Override Example Module
Magento 1
Docs powered by
Archbee