public function setSession( MShop_Order_Item_Base_Interface $order, $type = '' )
	{
		$context = $this->_getContext();
		$session = $context->getSession();
		$locale = $context->getLocale();
		$currency = $locale->getCurrencyId();
		$language = $locale->getLanguageId();
		$sitecode = $locale->getSite()->getCode();
		$key = 'arcavias/basket/content-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type );

		$session->set( $key, serialize( clone $order ) );
	}
public function setSession( MShop_Order_Item_Base_Interface $order, $type = '' )
	{
		$context = $this->_getContext();
		$session = $context->getSession();
		$locale = $context->getLocale();
		$currency = $locale->getCurrencyId();
		$language = $locale->getLanguageId();
		$sitecode = $locale->getSite()->getCode();
		$key = 'arcavias/basket/content-' . $sitecode . '-' . $language . '-' . $currency . '-' . strval( $type );

		$session->set( $key, serialize( clone $order ) );
	}
public function setSession ( MShop_Order_Item_Base_Interface $ order , $ type = '' ) { $ context = $ this -> _getContext ( ) ; $ session = $ context -> getSession ( ) ; $ locale = $ context -> getLocale ( ) ; $ currency = $ locale -> getCurrencyId ( ) ; $ language = $ locale -> getLanguageId ( ) ; $ sitecode = $ locale -> getSite ( ) -> getCode ( ) ; $ key = 'arcavias/basket/content-' . $ sitecode . '-' . $ language . '-' . $ currency . '-' . strval ( $ type ) ; $ session -> set ( $ key , serialize ( clone $ order ) ) ; }
Saves the current shopping basket of the customer.

@param MShop_Order_Item_Base_Interface $order Shopping basket
@param string $type Order type if a customer can have more than one order at once
Saves the current shopping basket of the customer .