After several hours and differente approaches, can\'t reach to get what I need.
I\'m developing a module to configure different kind of properties in a product.category,