Originally Posted by Eric
Sure, you would just need to pass the RandomFile() function the folder name based on the category ID or category slug.
One small doubt. If I want to use the category slug, then what should come in place of "id" in the above php code?
Also, how to find out the Category IDs for the store categories?