I am trying to achieve the following: 1> Hide Price Field for a Role only on a specific content type.
I am using Drupal Commerce.
Things I tried: 1> Field Permissions for the commerce_price field on a product. But because we using the same field across all product types the settings do not apply to just 1 product type.
2> preprocess_node But could not access the price componenet. As it is a component inside the product reference field.
Could you please help me figure this out. Any help would be really appreciated!!