如何纠正magento中的单页检出



我在magento中有一个网站的页面结帐,而选择和选项"发送到此地址"时,它仍然在相同的选项卡上,而不是移动到运输方法选项卡。我如何解决这个问题,这个错误发生在java脚本或代码?有人能帮我吗?以下是我为在单页签出中添加服务而编辑的详细信息:

i Have edited the /app/design/frontend/base/default/template/checkout/onepage/shipping.phtml as
        <li class="fields">
                    <div class="field">
                 <label for="servicepack">Services:</label>
                     <div class="input-box">
                     <input type="radio" value="3" name="sevicepack" style="width:13px;">&nbsp;&nbsp;&nbsp;&nbsp;Priority Service</input><br /><input type="radio" value="4" name="sevicepack" style="width:13px;">&nbsp;&nbsp;&nbsp;&nbsp;Road Express Service</input>
                    </div>
                    </li>
addedd this field and also   edited  /app/design/frontend/default/theme495/template/persistent/checkout/onepage/billing.phtml
       <li class="fields">
                    <div class="field">
                 <label for="servicepack">Services:</label>
                     <div class="input-box">
                     <input type="radio" value="3" name="sevicepack" style="width:13px;">&nbsp;&nbsp;&nbsp;&nbsp;Priority Service</input><br /><input type="radio" value="4" name="sevicepack" style="width:13px;">&nbsp;&nbsp;&nbsp;&nbsp;Road Express Service</input>
                    </div>
                    </li>

如果您运行的是magento 1.8

试试这个。

转到/app/design/frontend/base/default/template/checkout/onepage/file payment. php打开它,第36行

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

add id to fieldset

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

最新更新