/** * copies either the current order into the shopping cart * * TO DO: untested * TO DO: what to do with old order * @param SS_HTTPRequest * @return Array */ function copyorder(SS_HTTPRequest $request) { self::set_message(_t("CartPage.ORDERLOADED", "Order has been loaded.")); ShoppingCart::singleton()->copyOrder($this->currentOrder->ID); $this->redirect(CheckoutPage::find_last_step_link()); return array(); }