0

I implemented magento as an internal webshop of an organization. The shipping, billing and payment informations are same for all orders (and they will be automatically filled in by LDAP). Thus, I want to skip the first 4 checkout steps and to land on order "review".

I've already looked at the classes:

Controller/Checkout/controllers/OnepageController.php
Model/Checkout/Model/Type/Onepage.php

But I couldn't find, which Method is triggered by the button proceed the checkout.

How can I realize it?

Bruno Croys Felthes
  • 1,183
  • 8
  • 27
  • Take a look @ http://stackoverflow.com/questions/2627036/skip-checkout-in-magento-for-a-downloadable-product – MagePal Extensions Feb 04 '13 at 17:32
  • Thank u for your answer. But I took a look it before I posted my question. I had already tried to modify this solution but I had no success. I tried to skip from "billing" to "review" by changing this part in all relevant areas: $this->loadLayout('checkout_onepage_review'); $result['goto_section'] = 'review'; $result['update_section'] = array( 'name' => 'review', 'html' => $this->_getReviewHtml() ); It doesn't work. I would be very grateful if someone can show me a detailed code sample. Thanks in advance – prodlog Feb 12 '13 at 14:57

1 Answers1

0

Since what you're trying to accomplish is not the default magento checkout workflow, you could try creating your own custom checkout programmatically, this way you will have total control and bypass the complicity of the onepage checkout.

See Programmatically create order in Magento

MagePal Extensions
  • 17,646
  • 2
  • 47
  • 62