magento发货信息,继续按钮不起作用

时间:2014-07-04 03:11:58

标签: magento checkout shipping php

拜托,我需要你的帮助!

在我的magento安装后,我正在尝试购买产品(本地),但在结帐步骤,在我填写运输信息并点击“继续”后没有任何反应。我试图访问几乎所有关于这个问题的在线资源并做他们的建议,但仍然无法通过这一步。有什么建议吗?这是我的billing.phtml文件的按钮容器内容:

<div class="buttons-set" id="billing-buttons-container">
        <p class="required"><?php echo $this->__('* Required Fields') ?></p>
        <button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
        <span class="please-wait" id="billing-please-wait" style="display:none;">
            <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
        </span>
    </div>

2 个答案:

答案 0 :(得分:1)

试试这个。 转到/ app / design / frontend / base / default / template / checkout / onepage / file payment.phtml 打开它,找到第36行

<fieldset>
 <?php echo $this->getChildHtml('methods') ?>
</fieldset>

将id添加到fieldset

<fieldset id="checkout-payment-method-load">
 <?php echo $this->getChildHtml('methods') ?>
</fieldset>

它对我有用。

答案 1 :(得分:0)

我有同样的问题,而且常见的答案对我没有帮助。

对商店进行一些调试我注意到了这个错误:

致命错误:调用未定义的函数mcrypt_module_open()

因此,mcrypt模块没有安装在我的VPS服务器上,您需要安装该模块才能使一些Magento功能正常工作。

安装此模块的过程如下:

apt-get install php5-mcrypt

重启apache,你就完成了!

有时您的发行版可能会要求您进行apt-get update。

相关问题