7

What is the difference between regular price and final price in magento2?

product->getPriceInfo()->getPrice('final_price')->getAmount()->getBaseAmount();

and

$product->getPriceInfo()->getPrice('regular_price')->getAmount()->getValue();
5
  • 2
    Regular price is product's original price where as final price is discounted price or special price..
    – user00247
    May 31, 2017 at 8:53
  • thanks @Bhagyashree . I am use this in excluding and including tax way. so is it perfect for it?
    – R P
    May 31, 2017 at 8:54
  • No, its not perfect for that.
    – user00247
    May 31, 2017 at 8:56
  • so can you please know me what is the best way to get excluding and including tax value of products?
    – R P
    May 31, 2017 at 8:57
  • Refer to this link
    – user00247
    May 31, 2017 at 9:04

1 Answer 1

3
  1. Price in the sense of cost of the product.
  2. Where as Regular price is product's original price.
  3. And Final price is discounted price or special price.
1
  • 1
    Hi, thanks for the answer but I can't accept it because of in comment already I got the answer and also there is also discussion of excluding and including tax way. your answer is well but you can understand that. thank you very much again.
    – R P
    Jul 24, 2018 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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