Magento 2. How To Display the SKU on Catalog Page

[notice type=”warning”]The method will be demonstrated on the Magetique template which has 3 different Catalog Page layouts.

zemez wordpress themes
To display the SKU on Catalog Page in your Magento 2 store, do the following:

* We will show the SKU for all products on the Listing Layout 1.

1. Open the list_layout_1.phtml file in the app/design/frontend/TemplateMonster/themeXXX/Magento_Catalog/templates/product folder.

2. Find the piece of code as below:

3. Add this line of code:

4. You should get the following:

5. Remember to save the file changes and cleat Magento cache.

Result:

To alter the Listing Layout 2 you need to edit list_layout_2.phtml  file.
monster one