I have the following problem:
I want to get the final price programatically but it always displays 0
I tried with :
$product->getSpecialPrice();
$product->getPriceInfo()->getPrice("final_price")->getValue();
both displays 0
On the other hand $product->getPrice()
displays the normal regular price correctly
Is there an other way to get the special price?
I get the products like this:
$collection = $block->getResourceModel('catalog/product_collection')
->addAttributeToFilter( 'sku', array('in' => $alle_skus) )
->addAttributeToSelect('name')
->addAttributeToSelect('thumbnail')
->addMinimalPrice()
->addFinalPrice()
->addTaxPercents()
->load();
$product->getPriceInfo()->getPrice("final_price")->getMinimalPrice()->getValue();