Php 如何在magento中更正一页签出?

Php 如何在magento中更正一页签出?,php,magento,checkout,onpageloadstring,Php,Magento,Checkout,Onpageloadstring,我在magento中有一页签出,在选择和选项“Ship to this address”时,它保持在同一选项卡上,而不是移动到shipping method选项卡。如何解决这个问题,这个错误是发生在java脚本中还是代码中?有人能帮我吗? 以下是我为onepage编辑的详细信息,用于在onepage签出中添加服务: i Have edited the /app/design/frontend/base/default/template/checkout/onepage/shipping.phtm

我在magento中有一页签出,在选择和选项“Ship to this address”时,它保持在同一选项卡上,而不是移动到shipping method选项卡。如何解决这个问题,这个错误是发生在java脚本中还是代码中?有人能帮我吗? 以下是我为onepage编辑的详细信息,用于在onepage签出中添加服务:

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>
我已将/app/design/frontend/base/default/template/checkout/onepage/shipping.phtml编辑为
  • 服务: 优先服务
    公路快车服务
  • 添加此字段并编辑/app/design/frontend/default/theme495/template/persistent/checkout/onepage/billing.phtml
  • 服务: 优先服务
    公路快车服务

  • 如果您在magento 1.8上运行

    试试这个

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

    <fieldset>
            <?php echo $this->getChildHtml('methods') ?>
    </fieldset>
    
    
    
    将id添加到字段集

    <fieldset id="checkout-payment-method-load">
            <?php echo $this->getChildHtml('methods') ?>
    </fieldset>
    
    
    
    您在此处添加了“服务”选项卡……做一件事,请留言并检查……如果工作正常,我们将继续Hi,欢迎访问stackoverflow-此问题不显示您尝试了什么,也不显示您在访问链接时的实际问题,请提供一个简短的代码示例,正确模拟您的问题,以最大限度地提高从Stackoverflow的专家那里得到好答案的可能性?也许您应该阅读我们的指南,了解如何改进您的问题?@Vishal Sharma我刚刚对其进行了评论,但它不起作用。@karl henrik我在其中添加了更多详细信息。。如果您需要更多详细信息,请让我知道。.您是否在后端启用了任何装运方法。