Hide Catalog Item from Popular Items

Rohan Verma
Tera Expert

Can please someone help me how can we hide a specific catalog item from popular items widget in SanDiego release?
As I have seen in SanDiego, the widget has been changed so much from the previous release, as my code is working fine in previous releases(by cloning the widget and add the query) now they are using script include to execute the popular items. Any solution, appreciated.

1 ACCEPTED SOLUTION

Rohan Verma
Tera Expert

Hi all,
I'm able to hide the specific catalog item from popular items widget in SanDiego.
Thanks for all the replies!

View solution in original post

7 REPLIES 7

Rohan Verma
Tera Expert

Hi all,
I'm able to hide the specific catalog item from popular items widget in SanDiego.
Thanks for all the replies!

I am trying to do the same.

I cloned the popular items widget and change it to exclude a specific sc_item, this did not work.

Here is what I added to the servers script

count.addEncodedQuery('cat_item.sys_id! = 90af095bcd38798071a208d710d1b64f');

 

Not sure what I am doing wrong.

Hi Rohan,

 

Are you able to share the code for how you accomplished this? I'm trying to do the same but all the posts I've found so far include the older versions of the widget.