jfkafka Posted April 8, 2010 Share Posted April 8, 2010 Hi Steve and all, I've been bouncing around this thread and attempting to merge onepage checkout with mvs for about a week, and managed to get 2 vendors to display with their separate shipping methods and clicking the radio button selects that option and the spinner gif appears with no error but the order isn't updated in the top or bottom boxes... My question du jour is, would you happen to know the sequence of events that transpires upon clicking the shipping method radio button- I conjectured that it began in checkout.php and then went to checkout/checkout.js but when I tested this theory, by commenting out the two instances involving the setPaymentMethod: (in checkout.php) 1. echo $onePageCheckout->setPaymentMethod($_POST['method']); 2. onePage.setPaymentMethod($(':radio[name=payment]:checked')); (I used payment method because I hadn't altered that code) yet even though these two instances were commented out, I was still able to click the cash on delivery option and it worked as before with no error popup which was unexpected and very mystifying, where does this click event originate? I confess this code is pretty advanced (for moi) and after struggling for the past 2 days, have reached the point where maybe I should just speak up and ask the resident onepage wizard for some guidance as far as where does the code initially respond when a shipping method is selected? Thanks for any insight, I hope you could follow this better than I can follow that code! jk Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.