Hi guys am integrating Algolia to an NopCommerce store . I want to know if is there any way to hide or show a facet value based on user whose logged in. For example i have a hierarchical menu that displays product categories for filtering , some categories are mapped to certain customer roles which means only a customer assigned to those roles should see those categories . I there way to implement such functionality using instantsearch.js.
是的,您可以隐藏方面,只需从工作上下文中获取当前客户并检查他们的角色,然后您就可以隐藏或显示 Algolia Facet/Refinements。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.