_oModule = BxDolModule::getInstance($this->MODULE); $this->_oCart = $this->_oModule->getObjectCart(); $this->_iSingleSeller = 0; if($this->_bSingleSeller) $this->_iSingleSeller = $this->_oModule->_oConfig->getSiteAdmin(); $this->_sCurrencySign = $this->_oModule->_oConfig->getDefaultCurrencySign(); $this->_sDefaultSortingOrder = 'DESC'; $iClientId = bx_get('client_id'); if($iClientId !== false) $this->_aQueryAppend['client_id'] = (int)$iClientId; $iSellerId = bx_get('seller_id'); if($iSellerId !== false) { $iSellerId = (int)$iSellerId; $this->_aQueryAppend['seller_id'] = $iSellerId; if(!$this->_bSingleSeller) $this->_sCurrencySign = $this->_oModule->getVendorCurrencySign($iSellerId); } } public function addQueryParam($sKey, $sValue) { if(empty($sKey) || !isset($sValue)) return; $this->_aQueryAppend[$sKey] = $sValue; } } /** @} */