Every online store offers some unique features / options that distinguish them from an another store site. For example: some online stores provide detailed description of the products they are offering and some do not, some online stores provide a ton of product pictures so that customer can view the product from every possible angle and some online stores choose not to display all the pictures.
When it comes to displaying information regarding the product on the product page, every store site have it's own requirement(s). In nopCommerce, we already have features that allow a store site to display product description, product SKU or product MPN (manufacturer part number) etc.
Today, we will go over the process of displaying (or adding) product ID on the product page in nopCommerce.
This is how the default (out of the box) product page looks like with SKU and MPN display enabled:
In order, to add "Product ID" to the product page, we will go to:
Open "ProductTemplate.Simple.cshtml" file and find this:
In this example, we are going to display/add the product ID information right below the SKU/MPN/GTIN.
Now, add product ID information in the code like this:
This is how the code looks like in the product template:
Save changes and view the product page on the public store:
A copy of this article is also available on Arvixe Blog.