0

after adding button on cart page have the error if i click on checkout page

Invalid method Mage_Core_Block_Template::isPopup(Array (
)
)
with trace :

1 Answer 1

1

Fix the block type in your layout definition. It looks like you are doing a block type="core/template" ... when really, the block type should the block class that contains this isPopup function.

2
  • thanks for your quick reply can you guide me littlebit more that layout defination of theme or amazonpayment or checkoutpage ? Nov 3, 2016 at 14:07
  • Apparently, it's an issue that has been reported: github.com/amzn/amazon-payments-magento-plugin/issues/274. Just open up the template file app/design/frontend/base/default/template/amazon_payments/button.phtml and replace "<?php print $this->isPopup(); ?>" by "false" Nov 3, 2016 at 14:38

Your Answer

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

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