Magento:Checkout继续按钮不进行下一步

时间:2013-03-20 18:41:31

标签: php magento magento-1.7

我正在为Magento Onepage Checkout添加一个部分,在遇到很多问题后,我回去删除了所有模块和附加到它们的所有文件。我回到Checkout,现在一切正常,除了"继续"我登录时,按钮卡在结算部分。我相信它已连接到 onclick =" billing.save()内联功能。我是Magento的新手,也是Stack Overflow的新用户,所以这里是 billing.phtml 的代码。如果需要更多信息或者我错过了这篇文章中的一些细节,请告诉我。我很想学习如何在StackOverflow中正确提问,以便充分利用这个网站。

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

*****
<script type="text/javascript">
//<![CDATA[
    var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
    var billingForm = new VarienForm('co-billing-form');

    //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
    $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);

    var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
//]]>
</script>

非常感谢任何帮助。提前谢谢!

1 个答案:

答案 0 :(得分:0)

对我来说,我只需转到system-&gt; configuration-&gt;送货方式,然后将统一费率送货方式更改为否,然后更改为否,然后保存配置。此结帐结算步骤完成后。

相关问题