I want to deploy following logic ;
- Load product collection *start loop* - Extract the value with which I filter collection. - Filter based on above attribute to see if the product is there. - Reset the collection so I can use the same collection for filtering again *end loop*
But I do not know how to reset filters in a collection such as addFieldtoFilter, addAttribute to filter etc.
Any help would be appreciated.