/**
  * get full detail including items
  */
 function getFullDetail($id, $currency = GLOBAL_DEFAULT_CURRENCY)
 {
     if (is_numeric($id)) {
         $basket = $this->detail($id);
         require_once 'models/ecommerce/ecommerce_basket_content.php';
         $Basket_content = new ecommerce_basket_content();
         $Basket_content->setCacheable(false);
         $basket['items'] = $Basket_content->getItems($id);
         $basket['currency'] = $currency;
         require_once 'models/ecommerce/ecommerce_product.php';
         $Product = new ecommerce_product();
         $Product->setCacheable(false);
         foreach ($basket['items'] as &$item) {
             $variety = $Product->getProductVarietyDetail($item['product_variety_id'], $item['price_id'], $currency);
             $item['product'] = $Product->ProductDetail($variety['product_id']);
             $node = $Product->findProductInNode($item['product']['id']);
             $item['product']['variety'] = $variety;
             $item['product']['node'] = $node[0];
             $item['other_data'] = unserialize($item['other_data']);
         }
         return $basket;
     } else {
         return false;
     }
 }