View Issue Details

IDProjectCategoryView StatusLast Update
0001676OXID eShop (all versions)1.03. Basket, checkout processpublic2012-12-10 14:13
Reporterralf_trapp Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.0 revision 26948 
Summary0001676: correct shipping ID was never set.
DescriptionProblem description:Shop is configured in a way, that shipping method displayed in order step 3 is NOT the oxidstandard. Although session variable sShipSet is set correctly in order step 3, in order step 4 the oxidstandard shipping method is set (and is the final and incorrect shipping method). Problem cause:order::getShipSet() gets the object oShipSet from oxbasket::getShippingId(). However, in oxbasket the correct shipping ID (having this kind of configuration) was never set.
Additional Informationpayment::render()

if ( !$this->getAllSetsCnt() ) {
    // no fitting shipping set found, setting default empty payment
    $this->_setDefaultEmptyPayment();
    oxSession::setVar( 'sShipSet', null );
}enhance to if ( !$this->getAllSetsCnt() ) {
    // no fitting shipping set found, setting default empty payment
    $this->_setDefaultEmptyPayment();
    oxSession::setVar( 'sShipSet', null );
}
else
{
    // EI 100225
    $mySession = $this->getSession();
    $oBasket = $mySession->getBasket();
  
    if ($oBasket)
    {
        $oBasket->setShipping(oxSession::getVar('sShipSet'));
    }
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.