Hi, Does anybody know if there is a way to filter ...
# suitecommerce
v
Hi, Does anybody know if there is a way to filter item availability for each of the domain while using multiple domains for a single website ?
p
historically this has been achieved by adding code to all item api requests with a “hidden facet application” + customizing the item router (when you query the item api bu item id or item urlcomponent, it ignores facets you send). That being said, 19.2 has personalized catalog views which might facilitate things, but I haven’t researched it yet to be able to comment on if it does help or not.
v
thank you for the reply @PabloZ, I’ll investigate further.
b
Maybe you can add custom item fields (checkbox per domain) and add the fieldid as default parameter in the Profile.Model.js ( getSearchApiUrl() )
v
@Balaji - thank you, I’ll need to try this out and read more on the method you mentioned. Many thanks for the reply.