0

When i add product to the cart and click checkout page i am getting below error

Fatal error: Call to a member function getPrice() on null in /vendor/magento/module-configurable-product/Model/Product/Type/Configurable/Price.php on line 43

Please help me to fix this issue.

  • Try to add Other Product. I think product which u have added didn't have Price. Try to set Price from Admin for that Product – Ankit Shah Sep 29 '16 at 9:32
  • add getPrice($product) function which you have in file. – Suresh Chikani Sep 29 '16 at 9:57
  • Other products are working fine, issue with only one product – Sudheer Singamsetti Sep 29 '16 at 10:07
  • 1
    I edited and saved the particular product from magento admin then working fine. – Sudheer Singamsetti Sep 29 '16 at 10:10

Your Answer

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

Browse other questions tagged or ask your own question.