I'm trying to retrieve from script all the product published except for one category, this method is invoked by an automadet action. The code is:
The issue is that the search is returning all the product template, not only the website_published = true, can anyone help to understand the issue in the code?
Thank you.