duanqiao1926 2012-09-17 10:48
浏览 28
已采纳

checkout在magento1.7中不起作用

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.

EDIT

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"}

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...

EDIT 2

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

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

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.

  • 写回答

5条回答 默认 最新

  • duanqinbi9029 2012-09-17 11:39
    关注

    This function can be found in

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

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

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

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀