Getting an error :

Fatal error: Call to a member function isVisibleInSiteVisibility() In template/checkout/cart/item/default.phtml on line 60

Here is code:

$_item = $this->getItem();

How can I fix this?

  • what are you getting in $_item ? – Piyush Sep 13 '17 at 7:05
  • Accept the answer If you find my answer helpful @Pradip – Keyur Shah Oct 3 '17 at 18:50

I think in your quote you have multiple product in cart, so you can check with this below condition,

if($_item->getProduct()->getTypeId() === 'bundle'){

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.