How can I remove the sku only for grouped products? Since a grouped product is composed of many simple products, I do not need the grouped product sku to display. How can I remove this only for the grouped product?

1 Answer 1


Create catalog_product_view_type_grouped.xml under your module like below path:



create under


And add the below code to it:

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="product.info.sku" remove="true"/>
  • This worked! I already had that file so I just added the following code before the </body> tag: <referenceBlock name="product.info.sku" remove="true"/> Aug 10, 2018 at 15:49
  • Great! Happy Coding. Aug 10, 2018 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.