cancel
Showing results for 
Search instead for 
Did you mean: 

get price list.phtml

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