Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Checkout Issues? 
 
NickL
Sr. Member
 
Avatar
Total Posts:  186
Joined:  2007-08-31
 

How difficult is it to redo the onepage checkout page? I ask because I’ve been seeing some strange issues. Specifically, the page doesn’t advance PASS the Shipping Method. Meaning it won’t get to the portion where the customer enters payment details.

I’ve just put in standard details and checked “Same as billing” for shipping, yet. .still it Shows the UPS options, but will not advance any further. The “loading” next step appears.. then disappears.

If I wanted to have a normal 1-2 page checkout rather than the one-page option this is possible right?  Or is there edits that need to be made outside of the template files within the code?

Just curious.

 Signature 

nickL ~ i build stuff
Twitter me: twitter.com/ibuildstuff
My Blog: ibuildstuff.wordpress.com
How did I go magento? : http://www.kanemarie.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
NickL
Sr. Member
 
Avatar
Total Posts:  186
Joined:  2007-08-31
 

Think I’ve isolated this to just the ShippingMethod.save Method?  Is there some reason it wouldn’t advance pass this point?  And more importantly.. if I wanted to re-create this form, do I need to call the same method?

 Signature 

nickL ~ i build stuff
Twitter me: twitter.com/ibuildstuff
My Blog: ibuildstuff.wordpress.com
How did I go magento? : http://www.kanemarie.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
NickL
Sr. Member
 
Avatar
Total Posts:  186
Joined:  2007-08-31
 

Disregard this. I figured out the issue.  It has something to do with one of my additonal stylesheets, theres some sort of conflict. Working it out now.

 Signature 

nickL ~ i build stuff
Twitter me: twitter.com/ibuildstuff
My Blog: ibuildstuff.wordpress.com
How did I go magento? : http://www.kanemarie.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jack the Knife
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2007-09-06
Saint Louis
 

I’m having similar issues, what specific id or class was it that messed this up?  I have been in and out of my custom.css and the boxes.css file looking for the culprit.

Thank you in advance!

 Signature 

Stoked to be here! will update with meaningful info soon

 
Magento Community Magento Community
Magento Community
Magento Community
 
NickL
Sr. Member
 
Avatar
Total Posts:  186
Joined:  2007-08-31
 

Jack,
I’m not exactly sure what exact class it was, as I added alot of custom css styles. What I ended up doing was removing the reference to my stylesheet altogether and used the stock/default magento demo checkout. Once i saw that it worked, I built back in my styes bit by bit, checking to make sure it kept working. Sorta tedious.. but I’m thinking you might eventually find the bug.  It’s something with the javascript possibly conflicting I think.  I didn’t try running Firebug over the page ... that might have helped. But try removing your css getting it work from the demo and then working from there.

 Signature 

nickL ~ i build stuff
Twitter me: twitter.com/ibuildstuff
My Blog: ibuildstuff.wordpress.com
How did I go magento? : http://www.kanemarie.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

Yep, onepage checkout javascript uses selectors based on specific html nodes structure and css classes… Should be done more flexible later on

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dan Orsborne
Member
 
Total Posts:  72
Joined:  2007-09-20
 

Can you give some more details of where I should start looking to fix this problem?  I can get to the shipping section of the checkout page but it won’t go any further. When you click the ‘Continue’ button the ‘loading next page’ appear and then then disappears but nothing else happens grin

Thanks

 Signature 

http://www.igentics.com

Igentics are Internet Engineers, we like to look at things from a different angle. The end result being a fully integrated system encompassing the whole supply chain from supplier to end user, incorporating all legacy systems and data. This increases profits and reduces cost.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dan Orsborne
Member
 
Total Posts:  72
Joined:  2007-09-20
 

Okay, I’ve managed to fix it! Here’s how and also more information on where to look if you are having a problem with the one-page checkout.
The template that you use for the one-page checkout MUST contain the following code somewhere in it:

<div class="col-right side-col">
     
</
div>

This DIV is updated via Javascript to show the details that have currently been added for the order details. If the DIV is not there then the page will stop ofter the Shipping details or Shipping Method sections and go no further.

Here is where to look \skin\frontend\OC\default\js\opcheckout.js.  This file controls everything on the one-page checkout.
Line 38

reloadProgressBlock: function(){
        
var updater = new Ajax.Updater($$('.col-right')[0]this.progressUrl{method'get'});
    
},

is where to col-right div is called and if it doesn’t exist then the process stops (without any errors)

If you look down through this file you will see a line that says save: function() within each section. This is where the save is called when you click the continue button to go to the next section

nextStep: is the function for loading the next section to view/edit. Each of the sections has it’s own function from setBilling on line 94 to setReview on line 130 that sets the next section to go to.

Hope this helps

 Signature 

http://www.igentics.com

Igentics are Internet Engineers, we like to look at things from a different angle. The end result being a fully integrated system encompassing the whole supply chain from supplier to end user, incorporating all legacy systems and data. This increases profits and reduces cost.

 
Magento Community Magento Community
Magento Community
Magento Community
 
RyanAtBack40
Jr. Member
 
Total Posts:  15
Joined:  2008-02-13
 

I must say how much I appreciate your posting this information.

Obviously I can’t take a guess at how many others have ran into this issue, but our company (as a design firm) has been stuck on this for several days now. After searching the forums and coming across this, your last post helped us greatly.

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrychen2008
Jr. Member
 
Total Posts:  6
Joined:  2008-02-29
 

Dan
Can you give some more detail of where ‘col-right’ exist?thank you very much!
I can get to the shipping section of the checkout page but it won’t go any further. When you click the ‘Continue’ button the ‘loading next page’ appear and then then disappears but nothing else happens

 
Magento Community Magento Community
Magento Community
Magento Community
 
chinesedream
Guru
 
Total Posts:  587
Joined:  2007-08-31
San Francisco, CA
 
sherrychen2008 - 24 April 2008 05:51 PM

Dan
Can you give some more detail of where ‘col-right’ exist?thank you very much!
I can get to the shipping section of the checkout page but it won’t go any further. When you click the ‘Continue’ button the ‘loading next page’ appear and then then disappears but nothing else happens

Hi sherrychen, not Dan but I think can help answer this as I got it working after seeing Dan’s post.

I can’t remember where did the “side-col” places in the original file, but here is what I got it working.

My layout for onepage checkout is ‘2column-right.phtml, and the content area is floated left and right

<div id="left’> one page checkout steps go here </div>

<div id="right">YOUR CHECKOUT PROGRESS goes here </div>

I added a new class for ‘side-col’ in the Right section like so:

<div id="right" class="side-col">YOUR CHECKOUT PROGRESS goes here </div>

I don’t have a ‘side-col’ declared in my CSS file as everything is controlled by the element of #right and its descendents.

Hope this helps!

 Signature 

I am orangutan Fatimah, I want to marry chimpanzee Tan ahming, so that when mankind extinct from his own doing, me and my cintaku Ahming will make a new race that respects all things on earth.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrychen2008
Jr. Member
 
Total Posts:  6
Joined:  2008-02-29
 

Thank you for help.I followed what your said, but I still can not solve this problem!
so bad!

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrychen2008
Jr. Member
 
Total Posts:  6
Joined:  2008-02-29
 

Hello,chinesedream
Thank you for your help! I have solved that problem! yesterday I didnt find where did the “side-col” places in the original file.so surprise i find it today!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Grigore
Jr. Member
 
Total Posts:  11
Joined:  2008-04-25
 

Hi,

I run into the same problem and took me some time to figure how to solve it.

Here is some info that might help other people.
As the others before me said, the javascript function used to update the checkout progress is looking for an element that has the class ‘col-right’.

In the original design (page/3columns.phtml, page/2columns-right.phtml) there was a div like this: <div class="col-right side-col">

To make the checkout work, add an element that has class="col-right" in your design. There some checkout information will be displayed.
For example I added an empty <div class="col-right side-col"> </div> in my 1column.phtml template.

Hope this helps.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32087 users|339 users currently online|71964 forum posts