i want to disable SKU in .phtml-file and i don't know where i can find the phtml-file that includes SKU. Please can somebody tell me whats the path to the file that includes phtml with SKU. Or if you have suggestion to delete it easier let me know, but in any case i want to know where the .phtml-file is, that include SKU. Path hints on developer doesn't show!


  • do you want to disable sku from frontend to display from all pages? – denish vachhani Feb 18 '16 at 11:24
  • from all pages! – ayhan Feb 18 '16 at 11:27

It depends on your template.

Try looking into catalog/product/view.phtml.

Search for something like $_product->getSku().

  • great man thats it!!!!! – ayhan Feb 18 '16 at 11:31
  • You are welcome. Just set this as correct answer and enjoy your Magento ;) – Phoenix128_RiccardoT Feb 18 '16 at 11:33

Log in to admin

Go to Catalog > attribute > Manage attribute

find attribute with name sku

click on sku attribute row.

Visible on Product View Page on Front-end select "No" also Used in Product Listing "No".

Clear cache.

refresh all pages.

Note:- Don't edit or delete from core files or .phtml is better idea if no need.

I hope this will help you.

  • This doesn't helped me i don't know why, i comment it out on view.phtml, thanks a lot! – ayhan Feb 18 '16 at 12:05
  • you have to clear cache and reindex data from admin and check it. – denish vachhani Feb 18 '16 at 12:06
  • I undestand, but it was checked as disabled before i changed anything. i mean it was set on NO, as you described! – ayhan Feb 18 '16 at 12:09
  • ok dude...!!! but changing in templates is bed habit. i hope you understand. – denish vachhani Feb 18 '16 at 12:10
  • Yes i understand, thats why i tried yours first. Thanks! – ayhan Feb 18 '16 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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