View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001489 | OXID eShop (all versions) | 1.05. Users | public | 2009-11-19 13:53 | 2015-05-04 15:34 |
Reporter | Bergfreunde | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.0 revision 26948 | ||||
Summary | 0001489: User Group 'oxidnotyetordered' in EE missing in table oxgroups | ||||
Description | In PE 4 a user who hasn't ordered yet belongs to a group called "oxidnotyetordered". This is missing in EE 4, but half of the work was done but the developers. There is just the entry "oxidnotyetordered" at "oxgroups" missing. But the user will just become a "oxidnotyetordered"-groupmember if he opens an account outside the check out (because just the function "createUser" is called during check out when opening an account). Our developer added at /views/oxcmp_user.php the following function: ################ /** * Creates new oxid user while order process and add to group oxidnotyetordered * * @return string partial parameter string or null */ public function registerUserFromBasket() { if ( $this->createuser()!= false && $this->_blIsNewUser ) { // 0001672 R $this->getUser()->addToGroup( 'oxidnotyetordered' ); } else { // problems with registration ... $this->logout(); } return 'payment'; } ################### At "user.tpl" on line 90: instead of "createuser" at "fnc" the value "registerUserFromBasket". ############# <form action="[{ $oViewConf->getSslSelfLink() }]" name="order" method="post" onsubmit="clearDefaultText('order_remark','[{ oxmultilang ident="USER_MESSAGEHERE" }]')"> <div> [{ $oViewConf->getHiddenSid() }] [{ $oViewConf->getNavFormParams() }] <input type="hidden" name="option" value="[{$oView->getLoginOption()}]"> <input type="hidden" name="cl" value="user"> <input type="hidden" name="CustomError" value='user'> [{if !$oxcmp_user->oxuser__oxpassword->value }] <input type="hidden" name="fnc" value="registerUserFromBasket"> [{else}] <input type="hidden" name="fnc" value="changeuser"> <input type="hidden" name="lgn_cook" value="0"> [{/if}] </div> ############# | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
child of | 0001949 | resolved | vilma_liorensaityte | New customers don't get discount |