{"id":647,"date":"2019-10-23T07:08:31","date_gmt":"2019-10-23T07:08:31","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/10\/23\/remove-sku-from-product-page-in-magento-2\/"},"modified":"2025-06-16T11:31:11","modified_gmt":"2025-06-16T06:01:11","slug":"remove-sku-from-product-page-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/remove-sku-from-product-page-in-magento-2\/","title":{"rendered":"How To Remove SKU from Product Page in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">SKU stands for Stock Keeping Unit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magento 2 uses SKU as a unique identification code in alphanumeric format to track the inventory of the store. SKU is helpful to create orders, shipping, and working with inventory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The default Magento 2 displays the SKU in the frontend. However, it is unnecessary to display it to visitors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any unnecessary details only divert the visitors from the purchase. The non-technical users need not deal with the alphanumeric codes while shopping.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, it is only wise to hide SKU from the product page in Magento 2 for virtual products like software, services, support, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A clean product page with only the essential product details and attractive design is the key to conversion. Hence, to overcome the default behavior and <strong>remove SKU from product page in Magento 2<\/strong>, follow the below solution:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method To Remove SKU from Product Page in Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create <strong>catalog_product_view.xml<\/strong> file at <strong>Vendor\/Test\/view\/frontend\/layout<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;page xmlns_xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi_noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n    &lt;body>\n        &lt;referenceBlock name=\"product.info.sku\" remove=\"true\" \/>\n    &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s all to hide SKU from the product page in Magento 2. You can also, <a href=\"https:\/\/meetanshi.com\/blog\/remove-sku-column-from-magento-2-invoice-pdf\/\">remove SKU column from Magento 2<\/a> Invoice PDF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do share the solution with fellow developers via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SKU stands for Stock Keeping Unit Magento 2 uses SKU as a unique identification code in alphanumeric format to track the inventory of the store&#8230;.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-647","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=647"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/647\/revisions"}],"predecessor-version":[{"id":16798,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/647\/revisions\/16798"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}