1.) /app/design/frontend/default/detault/layout/checkout.xml
Comment out or remove the reference to “checkout.onepage.login” addLink under the checkout_onepage_index section.
2.) /app/design/frontend/default/default/template/checkout/onepage.phtml
Edit the code at the bottom (see line 2 line 19):
- <input type="hidden" name="checkout_method" id="login:guest" checked="checked" value="guest">
- //<![CDATA[
- var accordion = new Accordion('checkoutSteps', '.head', true);
- <;?php if($this->getActiveStep()): ?>
- accordion.openSection('opc-billing');
- <?php endif ?>
- var checkout = new Checkout(accordion,{
- progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>,
- review: '<?php echo $this->getUrl('checkout/onepage/review') ?>;',
- saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
- failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
- );
- // Go to the next method on start (it will look for the input we added above)
- //IE fix
- var cb = $("login:guest");
- cb.checked = true;
- checkout.setMethod(); // MAKE SURE TO ADD THIS LINE!!!
- //]]>
Code Text
No comments:
Post a Comment