implementation of parent category/sub category for vendors.