public function index()
 {
     $this->order->loadAll();
     if (!$this->order->getShoppingCartItemCount()) {
         return new ActionRedirectResponse('index', 'index');
     }
     $this->session->set('OrderPaymentMethod_' . $this->order->getID(), '');
     $response = new CompositeActionResponse();
     $blocks = array('login', 'shippingAddress', 'billingAddress', 'payment', 'cart', 'shippingMethods', 'overview');
     $blocks = array_flip($blocks);
     if ($this->config->get('REQUIRE_SAME_ADDRESS')) {
         unset($blocks['shippingAddress']);
     }
     foreach ($blocks as $block => $key) {
         $response->addAction($block, 'onePageCheckout', $block);
     }
     $response->set('orderValues', $this->getOrderValues($this->order));
     return $response;
 }