source/Application/Model/UserBasket.php
protected function _getItemKey($sProductId, $aSel = null, $aPersParam = null)
    {
        $aSel = ($aSel != null) ? $aSel : [0 => '0'];

        return md5($sProductId . '|' . serialize($aSel) . '|' . serialize($aPersParam));
    }
protected function _getItemKey($sProductId, $aSel = null, $aPersParam = null)
    {
        $aSel = ($aSel != null) ? $aSel : [0 => '0'];

        return md5($sProductId . '|' . serialize($aSel) . '|' . serialize($aPersParam));
    }
protected function _getItemKey ( $ sProductId , $ aSel = null , $ aPersParam = null ) { $ aSel = ( $ aSel != null ) ? $ aSel : [ 0 => '0' ] ; return md5 ( $ sProductId . '|' . serialize ( $ aSel ) . '|' . serialize ( $ aPersParam ) ) ; }
Returns unique item key according to its ID and user chosen select

@param string $sProductId Product Id
@param array  $aSel       product select lists
@param array  $aPersParam basket item persistent parameters

@return string
Returns unique item key according to its ID and user chosen select