1

我收到此错误:

"OrderReviewController is not defined"

尝试通过 Magento 1.7.0 使用贝宝结帐。

这是我在控制台中遇到的错误,如果您需要更多详细信息,请询问。

这是在 Magento 页面上:https ://domain.com/magento-isntall/paypal/express/review/

感谢任何事情,

4

1 回答 1

0
  • Check if some Magento Extension adding JS through front-end layout xml.
  • Then Overwrite them by putting them in your theme folder (your_theme/layout).
  • Put those JS inside pages in which they are actually required.
  • If those JS are coming on checkout page then encapsulate them into there scope.

    Like for jQuery it could be:

                     jQuery(function($){
                      //jQuery Code
                     });
    

    It will make a scope for prototype (Magento JS framework) and jQuery.

于 2015-05-26T07:22:45.707 回答