Comments (1)
You need implement redirects yourself. SDK doesn't do it for you as the router of the system is in your hands.
You can fetch the set redirects with following code:
const settings = await KlevuKMCSettings()
const redirects = settings.maps.klevu_keywordUrlMap
And then in your code before making the search queries you need to iterate redirects and if search term is what is found then do the redirect with your router.
from frontend-sdk.
Related Issues (20)
- Persist selected filters in URL HOT 5
- Not possible to use a custom method for the products filtering HOT 4
- kmcRecommendation doesn't support BOUGHT_TOGETHER_PDP logic HOT 3
- Promo banner in Quick Search HOT 1
- SDK support for Klevu search dropdown HOT 4
- FilterManager.readFromURLParams should take care of multiple values in the URL HOT 2
- proposal: add selectedfilters getter to the FilterManager HOT 1
- 'itemGroupdId' is required for Product recommendation HOT 2
- "currentProductId" should be in "recentObjects" instead of "sourceObjects" for PDP recommendations HOT 2
- Integration issue | https://eselo-qbj-1618476066-staging-dal.readymage.com/ HOT 3
- ExcludeIds Limitation HOT 3
- fetch products by category (by category name) to show the products on category page HOT 5
- Question: How to get recommendations title HOT 4
- How to search based of language e.g en(english) or ar(arabic) HOT 2
- how to fetch products by brand HOT 2
- Facing issue on analytics Events HOT 1
- How to enable Personalization on NextJS framework server side render? Can't take effect on server side render HOT 4
- Ideas for improving Analytics detail HOT 2
- Error: Directory import not supported resolving ES modules HOT 1
- ReferenceError: window is not defined at isLocalStorage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontend-sdk.