I have a custom module named specific_product
when i select products from a dropdown i want to show attributes related to that selected product as label in view
Ex: if i select 'Hair' as a product
and it has attributes as blue, red black, brown.
So, now i want to show these 4 attributes as label in view.
Note: No. of attributes varies as per the product.