cancel
Showing results for 
Search instead for 
Did you mean: 

Get Individual Product Details From Product List Page.

Get Individual Product Details From Product List Page.

Hi Guys,

I am trying to get the individual Product details from the Product List Page.

I have added a button which will appear on each product in the product list page.

On click of that product a pop-up will appear.

Now this pop-up has to fetch the current product details and display. Details like the Product ID ,NAME, PRICE.

 

How do i get it !

I followed a blog http://blog.chapagain.com.np/magento-2-get-current-category-current-product/

 

it return me null.

 

Please HELP !