View Issue Details

IDProjectCategoryView StatusLast Update
0002000OXID eShop (all versions)1.11. Private Sales, Invitationspublic2010-08-06 15:47
Reportermarco_steinhaeuser Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.0 revision 28699 
Fixed in Version4.4.2 revision 29492 
Summary0002000: "Register" leads to the checkout process
DescriptionHaving 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 Reproducetook me a while to reproduce it: tried with different browsers on M$ windows, finally could reproduce using another OS on my client.
Additional Informationreported here:
http://www.oxid-esales.com/forum/showthread.php?t=6032
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-07-29 12:37

reporter   ~0003322

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,

marco_steinhaeuser

2010-07-29 13:00

reporter   ~0003324

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.

leofonic

2010-07-29 16:30

reporter   ~0003329

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' );
}

dominik_ziegler

2010-07-30 09:44

reporter   ~0003330

I can reproduce this problem too.

arvydas_vapsva

2010-08-06 15:47

reporter   ~0003362

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() ) {
    ...
    }