source/Application/Model/Basket.php
public function getItemKey($sProductId, $aSel = null, $aPersParam = null, $blBundle = false, $sAdditionalParam = '')
    {
        $aSel = ($aSel != null) ? $aSel : [0 => '0'];

        $sItemKey = md5($sProductId . '|' . serialize($aSel) . '|' . serialize($aPersParam) . '|' . ( int ) $blBundle . '|' . serialize($sAdditionalParam));

        return $sItemKey;
    }
public function getItemKey($sProductId, $aSel = null, $aPersParam = null, $blBundle = false, $sAdditionalParam = '')
    {
        $aSel = ($aSel != null) ? $aSel : [0 => '0'];

        $sItemKey = md5($sProductId . '|' . serialize($aSel) . '|' . serialize($aPersParam) . '|' . ( int ) $blBundle . '|' . serialize($sAdditionalParam));

        return $sItemKey;
    }
public function getItemKey ( $ sProductId , $ aSel = null , $ aPersParam = null , $ blBundle = false , $ sAdditionalParam = '' ) { $ aSel = ( $ aSel != null ) ? $ aSel : [ 0 => '0' ] ; $ sItemKey = md5 ( $ sProductId . '|' . serialize ( $ aSel ) . '|' . serialize ( $ aPersParam ) . '|' . ( int ) $ blBundle . '|' . serialize ( $ sAdditionalParam ) ) ; return $ sItemKey ; }
Returns unique basket item identifier which consist from product ID,
select lists data, persistent info and bundle property

@param string $sProductId       basket item id
@param array  $aSel             basket item selectlists
@param array  $aPersParam       basket item persistent parameters
@param bool   $blBundle         bundle marker
@param string $sAdditionalParam possible additional information

@return string
Returns unique basket item identifier which consist from product ID select lists data persistent info and bundle property