cancel
Showing results for 
Search instead for 
Did you mean: 

get price list.phtml

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

get price list.phtml

Hello,

how we can get the price for simple and configurable product on list.phtml? If we try:

 

$block->getProductPrice($_product)

We get the correct price but how we get the price with and without tax from a simple and configurable product? Which 2 line codes we need to use?

like:

$productPriceWithTax = samplecode ;
$productPriceWithOutTax = samplecode ;

Hope someone can help...Smiley Sad