View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002000 | OXID eShop (all versions) | 1.11. Private Sales, Invitations | public | 2010-07-26 01:34 | 2010-08-06 15:47 |
| Reporter | marco_steinhaeuser | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.4.0 revision 28699 | ||||
| Fixed in Version | 4.4.2 revision 29492 | ||||
| Summary | 0002000: "Register" leads to the checkout process | ||||
| Description | Having all private sales options (admin -> private sales) switched to 'on', the register button at the start page doesn't lead to the register page but to checkout's first page (cart is empty) | ||||
| Steps To Reproduce | took me a while to reproduce it: tried with different browsers on M$ windows, finally could reproduce using another OS on my client. | ||||
| Additional Information | reported here: http://www.oxid-esales.com/forum/showthread.php?t=6032 | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
Reminder sent to: marco_steinhaeuser hello, sorry, but i can not reproduce the problem. could you please let us know OS specification, where this problem appears? greetings, |
|
|
Sure. Windows XP, IE, FF, Opera, Chrome: Couldn't reproduce Ubuntu 10.04, FF, Opera: Could reproduce. Will ask in forum thread for their configuration. |
|
|
I can reproduce this, i think the cause is in views/user.php function render(). From line 97: if ( $myConfig->getConfigParam( 'blPsBasketReservationEnabled' ) && (!$oBasket || ( $oBasket && !$oBasket->getProductsCount() )) ) { oxUtils::getInstance()->redirect( $myConfig->getShopHomeURL() .'cl=basket' ); } |
|
|
I can reproduce this problem too. |
|
|
oxUser::render(): if ($myConfig->getConfigParam( 'blPsBasketReservationEnabled' )) { $this->getSession()->getBasketReservations()->renewExpiration(); } $oBasket = $this->getSession()->getBasket(); if ( $this->_blIsOrderStep && $myConfig->getConfigParam( 'blPsBasketReservationEnabled' ) && (!$oBasket || ( $oBasket && !$oBasket->getProductsCount() )) ) { oxUtils::getInstance()->redirect( $myConfig->getShopHomeURL() .'cl=basket' ); } should be surrounded by: if ( $this->getIsOrderStep() ) { ... } |