I want to display product id on product view page when user click on product.
For ex :- This product id is 1. When This page is display on this page I want to display product id 1.
How can I get ?
Please help me.....
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
You can use below code on template file from here . Please use your theme and if you dont have files here copy from vendor.
Packag and theme should be change as per your theme Add below code to get product id
<?php echo $_product->getId(); ?>