【问题标题】:magento shipping information, the continue button not workingmagento运输信息,继续按钮不起作用
【发布时间】:2014-08-25 07:31:05
【问题描述】:

拜托,我需要你的帮助!

安装 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>

【问题讨论】:

  • 你能提供你网站的链接吗?
  • 亲爱的 MTM,感谢您愿意帮助我。正如我在帖子中所写的那样,我在本地工作,所以无法提供链接。但是,我通过安装 Magento 1.8.0.0 而不是使用 v1.9 解决了这个问题。
  • 如何在管理页面的缓存管理中清除 var/cache/* 并禁用缓存。 billing.phtml,它还在持久化文件夹中吗?

标签: magento checkout shipping php


【解决方案1】:

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

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

将 id 添加到字段集

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

它对我有用。

【讨论】:

    【解决方案2】:

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

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

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

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

    安装此模块的过程如下:

    apt-get install php5-mcrypt

    重启apache就完成了!

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-17
      • 1970-01-01
      • 2014-07-28
      • 1970-01-01
      相关资源
      最近更新 更多