How to correct onepage checkout in magento?

415 Views Asked by At

I have one page checkout in magento for a site and while choosing and option "Ship to this address" it remains on same tab rather than moving to the shipping method tab. How do I solve this problem, is this error occurred in java script or in code? Can anyone help me? Here is the details in which i have edited for onepage for adding services in the onepage checkout:

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

There are 1 best solutions below

0
Dakshika On

If your running on magento 1.8

try this.

go to /app/design/frontend/base/default/template/checkout/onepage/ file payment.phtml open it, line 36

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

add id to fieldset

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