Magento: How to set default shipping method

$quote = $this->getOnepage()->getQuote();	
$country = "FR"; 
$address = $quote->getShippingAddress();
$address->setCountryId($country)->setCollectShippingRates(true)->collectShippingRates();
$quote->setShippingMethod('freeshipping')->save();
Advertisements

Magento how to add breadcrumbs to checkout cart page

<checkout_cart_index>
<reference name=”breadcrumbs”>
<action method=”addCrumb”>
<crumbName>Home</crumbName>
<crumbInfo>
<label>Home</label>
<title>Home</title>
<link>/home</link>
</crumbInfo>
</action>
<action method=”addCrumb”>
<crumbName>Cart</crumbName>
<crumbInfo>
<label>Mein Warenkorb</label>
<title>Mein Warenkorb</title>
</crumbInfo>
</action>
</reference>
</checkout_cart_index>