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 $iBaseLanguage = $oLang->getBaseLanguage();
318 if ($oUser = $this->
getUser()) {
319 $sUsernameField =
'oxuser__oxusername';
321 $oLang->translateString(
'MY_ACCOUNT', $iBaseLanguage,
false) .
" - " . $oUser->$sUsernameField->value;
323 $aPath[
'title'] = $oLang->translateString(
'LOGIN', $iBaseLanguage,
false);
325 $aPath[
'link'] = $this->
getLink();
338 $oCompare =
oxNew(
"compare");
339 $iCompItemsCnt = $oCompare->getCompareItemsCnt();
341 return $iCompItemsCnt;
355 $sTitle =
oxRegistry::getLang()->translateString(
'PAGE_TITLE_ACCOUNT', $iBaseLanguage,
false);
356 if ($oUser = $this->
getUser()) {
357 $sUsername =
'oxuser__oxusername';
358 $sTitle .=
' - "' . $oUser->$sUsername->value .
'"';