cancel
Showing results for 
Search instead for 
Did you mean: 

How to display Attribute Group Name on Product page?

How to display Attribute Group Name on Product page?

Hi,

 

I want a solution that allows us to display attributes grouped by attribute-sets on frontend. Each attribute-set-group should be displayed as headline and after headline, the attributes show up.

When I was working on Magento 1.9 I found a solution in the this link

 

 But that doesn't work with Magento 2.1. I want something like this.

 webguys_attributesasgroup_57e45b99e3421f684961e08674440c13_htc touch diamond_1281382616002.png

 

 

 

 

 

 

Thanks

1 REPLY

Re: How to display Attribute Group Name on Product page?

I found the two file responsible for doing that but I'm not familiar with Magento structure to modify them.

 

file: attributes.phtml
path: /vendor/magento/module-catalog/view/frontend/templates/product/view/attributes.phtml


file: Attributes.php
path: /vendor/magento/module-catalog/Block/Product/View/Attributes.php