View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001676 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2010-03-01 21:34 | 2012-12-10 14:13 |
| Reporter | ralf_trapp | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.2.0 revision 23610 | ||||
| Fixed in Version | 4.3.0 revision 26948 | ||||
| Summary | 0001676: correct shipping ID was never set. | ||||
| Description | Problem 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 Information | payment::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')); } | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||