结帐在 magento1.7 中不起作用 [英] checkout is not working in magento1.7

查看:24
本文介绍了结帐在 magento1.7 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Magento 1.7 中完成了多存储.结帐不适用于一家商店.单击调用函数 onclick="billing.save()"Billing Information 块内的继续按钮后,什么也没有发生.我用萤火虫检查了所有块都正确地出现了.我认为问题在于函数 billing.save().我在哪里可以找到这个功能.

I have a multistore done in Magento 1.7. Checkout is not working in one store. Nothing is happening after clicking the continue button inside Billing Information block which calls the function onclick="billing.save()". I checked with firebug all blocks are coming correctly. I think the problem is with the function billing.save(). Where I can find this function.

编辑

我已经在 billing.save() 中的 transport.responseText 中检查了我对一家商店的回复,我收到了这样的回复

I have checked my response in transport.responseText in billing.save() for one store I am getting response like this

{"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":"<dl class="sp-methods">
<p>We are shipping daily until 12.19.2011 although most orders will arrive for the Holidays, we can not guarentee 12.25.2011 delivery (for orders placed after 12.14.2011). <span style="color:red;">We begin shipping again in January - Order Honeybells Now!</span></p>
            <dt>Flat Shipping</dt>
        <dd>
            <ul>
                            <li>
                                                                   <span class="no-display"><input name="shipping_method" type="radio" value="flatship_flatship" id="s_method_flatship_flatship" checked="checked" /></span>
                                                <label for="s_method_flatship_flatship">Standard US                                                                        <span class="price">$12.00</span>                                                </label>
                                   </li>
                        </ul>
        </dd>
    </dl>
"},"allow_sections":["shipping"],"duplicateBillingInfo":"true"}

对于不工作的商店来说,它会像这样

and for the store which is not working its coming like this

<meta name="google-site-verification" content="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
{"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":"<dl class="sp-methods">
<p>We are shipping daily until 12.19.2011 although most orders will arrive for the Holidays, we can not guarentee 12.25.2011 delivery (for orders placed after 12.14.2011). <span style="color:red;">We begin shipping again in January - Order Honeybells Now!</span></p>
            <dt>Flat Shipping</dt>
        <dd>
            <ul>
                            <li>
                                                                   <span class="no-display"><input name="shipping_method" type="radio" value="flatship_flatship" id="s_method_flatship_flatship" checked="checked" /></span>
                                                <label for="s_method_flatship_flatship">Standard US                                                                        <span class="price">$43.80</span>                                                </label>
                                   </li>
                        </ul>
        </dd>
    </dl>
"},"allow_sections":["shipping"],"duplicateBillingInfo":"true"}

我不知道这个元标记是从哪里来的,当我在 setStepResponse: function(response){ 侧提醒 response.update_section.name 时,它的到来是未定义...

I don't know from where this meta tag is coming and when I alert response.update_section.name in side setStepResponse: function(response){ its coming as undefined...

编辑 2

现在元标记问题已经解决了.他们在子域文件夹的 index.php 中添加了元标记.现在的问题是当我下订单时它会显示

Now meta tag problem has been solved.. They have added that meta tag inside index.php of their sub domain folder. Now the problem is when I place order it displays

网关错误:(TESTMODE)商户登录ID或密码无效或账户无效.

Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.

任何人有任何想法请帮助我.它在另一家商店工作正常.我使用 Authorize.net 付款并启用 Test Mode.

Any one has any idea please help me. Its working fine in another store. I am using Authorize.net for payment and enabled Test Mode.

推荐答案

这个功能可以在

skin/frontend/your_package/your_theme/js/optcheckout.js

或者,如果它不在/your_package/your_theme/和/your_package/default/中,则在/base/default/中

or, if it's not in /your_package/your_theme/ and /your_package/default/, it's in /base/default/

在 Magento 1.7 中应该在文件的第 302 行(如果没有修改).

In Magento 1.7 is should be in the line 302 of the file (if nothing was modified).

但我认为问题不在这里.您是否在 Firebug/开发人员工具中检查了 saveBilling 的响应?

But I don't think the problem is there. Have you checked the response for saveBilling in Firebug/Developer Tools?

这篇关于结帐在 magento1.7 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆