124 $sPasswordField =
'oxuser__oxpassword';
125 if (!$oUser || ($oUser && !$oUser->$sPasswordField->value) ||
126 ($this->isEnabledPrivateSales() && $oUser && (!$oUser->isTermsAccepted() || $this->
confirmTerms()))
156 if ($oUser && !$oUser->isTermsAccepted()) {
178 $aParams[
'sourcecl'] = $sSource;
182 $aParams[
'anid'] = $sSource;
206 $sRedirectUrl = $this->
getConfig()->getShopUrl() .
'index.php?cl=' . rawurlencode($sSource);
210 if ($sValue && $sName !=
"sourcecl") {
211 $sRedirectUrl .=
'&' . rawurlencode($sName) .
"=" . rawurlencode($sValue);
228 if ($this->_iOrderCnt === null) {
229 $this->_iOrderCnt = 0;
230 if ($oUser = $this->
getUser()) {
231 $this->_iOrderCnt = $oUser->getOrderCount();
245 if ($this->_sArticleId === null) {
248 $this->_sArticleId = $sArticleId;
262 if ($this->_sSearchParamForHtml === null) {
263 $this->_sSearchParamForHtml =
false;
279 if ($this->_sSearchParam === null) {
280 $this->_sSearchParam =
false;
282 $this->_sSearchParam = rawurlencode(
oxRegistry::getConfig()->getRequestParameter(
'searchparam',
true));
296 if ($this->_sListType === null) {
297 $this->_sListType =
false;
317 if ($oUser = $this->
getUser()) {
318 $iBaseLanguage = $oLang->getBaseLanguage();
319 $sUsernameField =
'oxuser__oxusername';
322 $oLang->translateString(
'MY_ACCOUNT', $iBaseLanguage,
false) .
" - " . $oUser->$sUsernameField->value;
324 $aPath[
'title'] = $oLang->translateString(
'LOGIN', $iBaseLanguage,
false);
326 $aPath[
'link'] = $this->
getLink();
339 $oCompare =
oxNew(
"compare");
340 $iCompItemsCnt = $oCompare->getCompareItemsCnt();
342 return $iCompItemsCnt;
356 $sTitle =
oxRegistry::getLang()->translateString(
'PAGE_TITLE_ACCOUNT', $iBaseLanguage,
false);
357 if ($oUser = $this->
getUser()) {
358 $sUsername =
'oxuser__oxusername';
359 $sTitle .=
' - "' . $oUser->$sUsername->value .
'"';