122 $sPasswordField =
'oxuser__oxpassword';
123 if (!$oUser || ($oUser && !$oUser->$sPasswordField->value) ||
124 ($this->isEnabledPrivateSales() && $oUser && (!$oUser->isTermsAccepted() || $this->
confirmTerms()))
154 if ($oUser && !$oUser->isTermsAccepted()) {
176 $aParams[
'sourcecl'] = $sSource;
180 $aParams[
'anid'] = $sSource;
204 $sRedirectUrl = $this->
getConfig()->getShopUrl() .
'index.php?cl=' . rawurlencode($sSource);
208 if ($sValue && $sName !=
"sourcecl") {
209 $sRedirectUrl .=
'&' . rawurlencode($sName) .
"=" . rawurlencode($sValue);
226 if ($this->_iOrderCnt === null) {
227 $this->_iOrderCnt = 0;
228 if ($oUser = $this->
getUser()) {
229 $this->_iOrderCnt = $oUser->getOrderCount();
243 if ($this->_sArticleId === null) {
246 $this->_sArticleId = $sArticleId;
260 if ($this->_sSearchParamForHtml === null) {
261 $this->_sSearchParamForHtml =
false;
277 if ($this->_sSearchParam === null) {
278 $this->_sSearchParam =
false;
280 $this->_sSearchParam = rawurlencode(
oxRegistry::getConfig()->getRequestParameter(
'searchparam',
true));
294 if ($this->_sListType === null) {
295 $this->_sListType =
false;
315 if ($oUser = $this->
getUser()) {
316 $iBaseLanguage = $oLang->getBaseLanguage();
317 $sUsernameField =
'oxuser__oxusername';
320 $oLang->translateString(
'MY_ACCOUNT', $iBaseLanguage,
false) .
" - " . $oUser->$sUsernameField->value;
322 $aPath[
'title'] = $oLang->translateString(
'LOGIN', $iBaseLanguage,
false);
324 $aPath[
'link'] = $this->
getLink();
337 $oCompare =
oxNew(
"compare");
338 $iCompItemsCnt = $oCompare->getCompareItemsCnt();
340 return $iCompItemsCnt;
354 $sTitle =
oxRegistry::getLang()->translateString(
'PAGE_TITLE_ACCOUNT', $iBaseLanguage,
false);
355 if ($oUser = $this->
getUser()) {
356 $sUsername =
'oxuser__oxusername';
357 $sTitle .=
' - "' . $oUser->$sUsername->value .
'"';