Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
12 votes
7 answers
49k views

Magento2 : How to get product id to my custom module

I am new to magento2 and currently I'm building a custom module and i want to get the product ID/SKU from the catalog. I'm trying to call using a function located in the Block folder. please advise!
ming's user avatar
  • 125