Magento Mobile Shoppe主题单页结账不适用于CE 1.8

时间:2013-10-07 06:45:41

标签: magento mobile magento-1.8

我遇到了结帐的真正问题,因为我坚持第3步运输方法。

有一件事我注意到右侧的“您的结帐流程”不会加载内容。

是的,有人能帮帮我吗?

4 个答案:

答案 0 :(得分:4)

自从我的上一篇文章被删除后,我会再试一次。 为了让Mobileshoppe重新恢复工作,您需要采取两个步骤:

<强> 1 转到/app/design/frontend/base/default/template/checkout/onepage/payment.phtml

并改变这一点(对我来说是第36行)

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

到这个

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



2 打开app / design / frontend / default / mobileshoppe / template / checkout / onepage / review / info.phtml

找到这一行:

review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

并将其更改为

review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));



这是处理/发布/保存订单的新方法。 可能这对于其他人在升级/更新到Magento 1.8后卡在单页结账时可能会有所帮助。

祝你好运。

答案 1 :(得分:2)

在这里,我发布了你的第二个问题答案,结账进度逐一消失。

在frontend / default / theme / layout / checkout.xml

中查找代码
    <checkout_onepage_progress>
            <!-- Mage_Checkout -->
            <remove name="right"/>
            <remove name="left"/>

            <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
                <block type="checkout/onepage_payment_info" name="payment_info">
                    <action method="setInfoTemplate"><method></method><template></template></action>
                </block>
            </block>
        </checkout_onepage_progress>

将其更改为此

<checkout_onepage_progress>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <remove name="left"/>

        <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
            <action method="setInfoTemplate"><method></method><template></template></action>
            <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
            <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
            <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
            <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
        </block>
    </checkout_onepage_progress>

    <!-- Individual blocks for Progress steps begins -->
    <checkout_onepage_progress_billing>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <remove name="left"/>

        <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml">
            <action method="setInfoTemplate"><method></method><template></template></action>
        </block>
    </checkout_onepage_progress_billing>


    <checkout_onepage_progress_shipping>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <remove name="left"/>

        <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml">
            <action method="setInfoTemplate"><method></method><template></template></action>
        </block>
    </checkout_onepage_progress_shipping>


    <checkout_onepage_progress_shipping_method>
        <!-- Mage_Checkout -->
        <remove name="right"/>
        <remove name="left"/>

        <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml">
            <action method="setInfoTemplate"><method></method><template></template></action>
        </block>
    </checkout_onepage_progress_shipping_method>

    <checkout_onepage_progress_payment>
    <!-- Mage_Checkout -->
    <remove name="right"/>
    <remove name="left"/>

    <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml">
        <block type="checkout/onepage_payment_info" name="payment_info">
            <action method="setInfoTemplate"><method></method><template></template></action>
        </block>
        <action method="setInfoTemplate"><method></method><template></template></action>
    </block>
    </checkout_onepage_progress_payment>

我希望这会解决您的问题,请评论&amp;反馈!!

答案 2 :(得分:1)

我希望通过为您的第二个问题发布另一个答案,我没有做错事。我也参与了结帐进度的事情,但它不是100%完美。看看这是否适合你:

1。 打开文件app / design / frontend / default / mobileshoppe / layout / checkout.xml

2 的 搜索此行:

<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>

第3 的 将其替换为以下内容:

<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml">
    <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
    <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
    <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
    <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
</block>

答案 3 :(得分:0)

我遇到了Magento 1.8.1.0的问题。我解决了这个

  1. 打开app / design / frontend / default / mobileshoppe / layout / checkout.xml

  2. 更改行

                   <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
    

                   <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/info.phtml">
    
  3. 祝你好运!