cancel
Showing results for 
Search instead for 
Did you mean: 

Display SKU in Order Summary section in Magento 2

Display SKU in Order Summary section in Magento 2

Hi,

 

I want to display SKU value on all pages on my website. I successfully added that SKU value in the Shopping Cart page. Now I want to display SKU value on Order Summary Section in the checkout page. And after purchased product, I need to generate the invoice with SKU value.

 

How to do that? Please help to fix that issues.

 

Thanks.

1 REPLY 1

Re: Display SKU in Order Summary section in Magento 2

Hi @jeganee,

 

I'm not fully sure (I didn't tried) but I guess you can access to something like $block->getProduct(). Can you check if that variable allows you to get full access to product attributes?