Has anybody ever had any luck creating an extensio...
# suitecommerce
j
Has anybody ever had any luck creating an extension to hide an item from search results? I’ve done it previously on Kilimanjaro by extending the
Session
module and hiding some facets, but I’m not seeing anything that would get me close to that with an extension.
f
Hello! You can try to extend the Item.Collection.js file and also wrap the parse function in order to reject the items that you will return into the parse function.
i
We will need to implement something similar very soon as well. We have some customers that should only see some items and not all.
f
@iSuite for your scenario seems PCV should work
i
Hm ok not familiar with PCV. Is that like the collection view? Product collection view?
j
@iSuite PCV stands for Personalized Catalog View, I believe (or something similar). Basically, it’s the idea of tailoring the experience of a catalog to a specific customer or customer group. As near as I can tell, it’s the evolution of the concept of Audiences on the frontend that you used to be able to use with SiteBuilder, which I loved and has been what I’ve been trying to replace since switching to SCA. It’s something I’ve been requesting for years to anyone who would listen at NetSuite but it looks like it may finally be ready for primetime. There’s some documentation available under Commerce > Store Front > Web Store Items > Item Availability > Personalized Catalog Views. It’s definitely worth looking into. I hadn’t even considered it
Holy crap. PCV looks like it would do exactly what I’m looking for. For background, since launching on SCA, I’ve been trying to figure out a way for PDPs to be reviewed by product managers before going live on the site without having to do duplicate work in sandbox. Let’s hope this works as well as it appears to. Thanks, @Flo Meilan
netsuite halo 1
👍 2
i
That's awesome. Thank you guys
j
Thanks again for your help, @Flo Meilan This appears to work as described. The one thing that seems strange, though is that if I only display a commerce category to certain users, normal users still see it in navigation menus. For instance, I created a top-level “Staging” category to house items that are still being reviewed by the product team. The correct logged in users are able to view the items in that category as expected, but non-logged in users still see it appear in the main navigation as a top-level nav item. It seems like the category should be hidden entirely for normal users. It’s not a dealbreaker. Just not the way that I would expect it to work.
f
I agree, not the way I should expect it to work. I think "audiences" use to work that way.