How can I get the price for a product WITHOUT any TAX / Shipping Details?

Currently it is echo $block->getProductPriceHtml($_item, $type); and gives out price + price-details (tax etc).

Is there a easy way how to get price without price-details?


Pretty sure you can simply do:

echo $_item->getPrice();
| improve this answer | |
  • Hmm, but then it isnt formatted correctly.. and sometimes gives out a "0"... – Magento2User1337 Sep 29 '16 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.