View Issue Details

IDProjectCategoryView StatusLast Update
0004694OXID eShop (all versions)1.09. Integrations: Facebook, Trusted Shops, Shop lupe, Econdapublic2012-12-12 12:42
Reportermichael_keiluweit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.1 revision 38045 
Fixed in Version4.6.6 revision 54646 
Summary0004694: not all methods of econda plugin convert the article name
DescriptionFor 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 Informationprotected 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;
}
TagsEconda
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

rnie

2012-11-08 11:32

reporter   ~0007770

As it is a small bug a quick-fix is highly appreciated.

Kind regards

Robert Nienhaus

rnie

2012-11-16 10:46

reporter   ~0007876

Hello,

are there any about a fix? Our customer is constantly asking about it.

Kind regards

Robert Nienhaus

Linas Kukulskis

2012-12-12 12:42

reporter   ~0008106

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