BlessIsaacola:
And what happens if have duplicate category in the array if it based on category name?
When entering category is there a structure for entering category name to avoid duplicates?
For example:
Music
Kids ->music
Kids ->video
Let's say I only want to generate music from Kids-Music do I enter Kids-Music or do I enter Music?
If you also need a temporary access I can create a user id for you but it category filter doesn't work at all levels.
So four categories:
Kids -> Music
Kids -> Video
You would enter Music. However, if you have two categories called Music:
Kids -> Music
Adults -> Music
You would put Music and then in the excluded categories you would put Adults.
As I said before, this function is very basic and will take rewriting the function to use category id numbers instead. I simply took a shortcut by using the product_type to compare the categories. I'll look into this in the future but it is difficult for me to say when due to lack of time/support.