title: Magento. How to change shipping method before save order?
body: <p>I must change shipping method before saving order if (condition) is true, and don't change it if false. I tried out function <code>checkout_type_onepage_save_order($observer).</code></p>
  
  <pre><code>$checkout = Mage::getSingleton('checkout/type_onepage');
  $checkout-&gt;saveShippingMethod('freeshipping_freeshipping');
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>Sorry for my English. </p>
  
  <p>Thanks.</p>