In a SuiteCommerce webstore, is there a way to mod...
# suitecommerce
v
In a SuiteCommerce webstore, is there a way to modify the data set returned by the global search, before it is displayed to the user? (via an Extension) Example: If the user searches for "Shirt", and the data set returned has 2 items, "Shirt 1" and "Shirt 2", is there a way I can remove one of those items from the data set before the results are displayed to the user? We're using SC 2020.1.1
s
Yes but not in any way that I would recommend doing, let alone in an extension
v
@Steve Goldberg Okay. What if I have an item marked as "Display in Web Store" = true (in NetSuite), but I don't want to actually show it anywhere in the webstore when the user searches for it? We have to mark a few items as "Display in Web Store" = true, since we're adding them to cart via Commerce API in one of our extensions. But we don't want these items to appear in the Global Search within the webstore. Is there any way we can do this?
s
It may be possible with personalized catalog view. I don't know if hiding it through that and then forcing it into the cart with scriptable cart will work
v
Thanks for the tip Steve, it sounds like a good workaround. I'll look into that, and will let you know if it works for me.