Kirmal Brar
Kirmal Brar

Reputation: 397

Error in configurable products on detail page?

I am working on Magento. There is an error on my product detail page.

Fatal error: Call to a member function getId() on a non-object in app/code/core/Mage/Catalog/Model/Product/Type/Configurable/Price.php on line 86

But this error is not for all products, it's in some cases. How can I resolve this error?

Upvotes: 1

Views: 287

Answers (1)

Victor
Victor

Reputation: 41

It seems that you have a problem in configuration of price attribute (that should be cost). Make sure what it attribute used for all types of product.

Upvotes: 0

Related Questions