简体   繁体   English

magento中的结帐页面错误

[英]Checkout page error in magento

I have a magento muti store. 我有一家magento muti商店。

I am using same theme for all of my store 我所有商店都使用相同的主题

. All my store working properly except one, the problem is that, 我的所有商店都正常运作,唯一的问题是,

my onepage checkout not working. 我的一页结帐不起作用。

When I click on procceed to checkout the page redirects to checkout page, but it is not working. 当我单击procceed进行结帐时,页面将重定向到结帐页面,但是它不起作用。

As default checkout method is open, but not in my site. 由于默认的结帐方法是打开的,但不在我的站点中。

It was working before one day. 一天之前它在工作。 Suddenly stopped working. 突然停止工作了。

When I checked the errors in chrome debug mode, there showed an error, 当我在Chrome调试模式下检查错误时,出现了错误,

"Uncaught ReferenceError: Accordion is not defined ". “未捕获的ReferenceError:未定义手风琴”。

Is this error happen because of this Javascript error? 是否因为此Javascript错误而发生此错误? How do I solve it? 我该如何解决? Hope you guys can help me. 希望你们能帮助我。 Thank you 谢谢

it seems that you jQuery library or UI library is not loading properly - verify that the 看来您的jQuery库或UI库未正确加载-验证

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>

are in the right order - jquery first then the ui, and whether those files are accessible from this particular website/storeview 顺序正确-首先是jQuery,然后是ui,以及是否可以从此特定网站/商店视图访问这些文件

You need to update following files from fresh magento installed. 您需要从新安装的magento更新以下文件。 this files responsible for checkout step. 此文件负责结帐步骤。

app/code/core/Mage/Checkout/Model/Type/Onepage.php
app/code/core/Mage/Checkout/controllers/OnepageController.php

This was the problem from the server people and they rectified it. 这是服务器人员的问题,他们已将其纠正。 Thanks guys. 多谢你们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM