View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004694 | OXID eShop (all versions) | 1.09. Integrations: Facebook, Trusted Shops, Shop lupe, Econda | public | 2012-11-08 09:21 | 2012-12-12 12:42 |
Reporter | michael_keiluweit | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.1 revision 38045 | ||||
Fixed in Version | 4.6.6 revision 54646 | ||||
Summary | 0004694: not all methods of econda plugin convert the article name | ||||
Description | For the econda tracking the article name on the detail page is shown without komma. The thankyou page shows the komma in the article. The cause is in the methode addEmosBasketPageArray in the page core/smarty/plugins/emos.php. The article name will not be converted. The result is, that econda gets different information to identically articles. | ||||
Additional Information | protected function _setEmosECPageArray( $oItem, $sEvent ) { $oItem = $this->_emos_ItemFormat( $oItem ); $this->_ecEvent[] = array($sEvent, $oItem->productId, $oItem->productName, $oItem->price, $oItem->productGroup, $oItem->quantity, $oItem->variant1, $oItem->variant2, $oItem->variant3); } Here, the article name will not be converted. public function addEmosBasketPageArray( $aBasket ) { if (!is_array($aBasket)) { return ; } $aBasketItems = array(); foreach ( $aBasket as $oItem ) { $aBasketItems[] = array("buy", $oItem->productId, $oItem->productName, $oItem->price, $oItem->productGroup, $oItem->quantity, $oItem->variant1, $oItem->variant2, $oItem->variant3 ); } $this->_ecEvent = $aBasketItems; } | ||||
Tags | Econda | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
As it is a small bug a quick-fix is highly appreciated. Kind regards Robert Nienhaus |
|
Hello, are there any about a fix? Our customer is constantly asking about it. Kind regards Robert Nienhaus |
|
fixed method: public function addEmosBasketPageArray( $aBasket ) { if (!is_array($aBasket)) { return ; } $aBasketItems = array(); foreach ( $aBasket as $oItem ) { $oItem = $this->_emos_ItemFormat( $oItem ); $aBasketItems[] = array("buy", $oItem->productId, $oItem->productName, $oItem->price, $oItem->productGroup, $oItem->quantity, $oItem->variant1, $oItem->variant2, $oItem->variant3 ); } $this->_ecEvent = $aBasketItems; } |