Ina Code Blog

bunch of code in one place
« osCommerce: IE ne prikaže slik
Magento: Display default Add to cart quantity »


Dec
16

Magento: onepage checkout problem

Posted by admin in Magento

In the checkout process only step 1 and step 2 are active. I can not access step3: Shipping methods. I didn’t use standard magento classes in my page layout, I used #right instead .col-right and this is what solved my checkout problem:

Open file: /skin/frontend/darila/darila/js/opcheckout.js and find at around line 50:

var updater = new Ajax.Updater($$(’.col-right’)[0], this.progressUrl, {method: ‘get’, onFailure: this.ajaxFailure.bind(this)});

and replace .col-right with whatever class you used (in my case I used #right)

var updater = new Ajax.Updater($$(’#right’)[0], this.progressUrl, {method: ‘get’, onFailure: this.ajaxFailure.bind(this)});

Checkout process works great now.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

9 Responses to “Magento: onepage checkout problem”

  1. Added by Jeff on Dec at 23

    Thanks, this was a huge help! I was having the exact same problem.

  2. Added by brent on Jan at 6

    thanks for the info! turns out my whole right panel I had removed! commented out that function and works perfect now.

    regards

  3. Added by Pim on Feb at 2

    Thanks a lot! Great solution

  4. Added by Marcelo on Mar at 7

    Thank You for your great help. You don´t know, but your tip solve my problem perfectly.

  5. Added by ulrik on Mar at 9

    Thanks.. Had changed so much before checking the checkout procedure. Would have spent alot of time searching for problem.

  6. Added by Rafiq on Jul at 16

    Great! solved the problem. Anyway, would you explain please where used the “checkout-review-load” class.

    thanks

  7. Added by Zero on Jul at 21

    Thank alot. This is good idea!

  8. Added by bvicky on Jul at 29

    Go to Line #50 in file

    skin/frontend/default/default/js/opcheckout.js

    And find this

    var updater = new Ajax.Updater($$(’.col-right’)[0], this.progressUrl, {method: ‘get’, onFailure: this.ajaxFailure.bind(this)});

    I replaced .col-right to .a-item

    var updater = new Ajax.Updater($$(’.a-item’)[0], this.progressUrl, {method: ‘get’, onFailure: this.ajaxFailure.bind(this)});

    And it works

    Thanks

  9. Added by Peter Hinton on Nov at 12

    Thankyou so much for this, I was beginning to panic. The latest version of Magento requires bvicky’s changes

Leave a Reply

Comment