Bei diesem Hook-Point wird die Kurzbeschreibung vor die Produktbeschreibung gehängt und dann zum Marktplatz gesendet.

Hierbei wurde das ganze auf den Marktplatz Yatego beschränkt.
Diese Beschränkung kann natürlich entfernt oder erweitert werden.
Auch andere Daten können leicht zusammengeführt werden.

Die Funktion sanitizeProductDescription entfernt alle nicht zugelassenen HTML-Tags,
die nicht in der Funktion als Parameter übergeben wurden.
Dies ist notwendigt, weil die Marktplätze nicht alle HTML-Tags zulassen.

Der Hook-Point enthält folgenden Quellcode:

<?php
if ($marketplace == 'yatego') {
    $cache = $product['products_description'];
    $product['products_description'] = str_replace(
        array("\r\n", "\r", "\n"), "\\n", 
        sanitizeProductDescription(
            $product['products_short_description'],
            '<a><b><i><u><p><br><hr><h1><h2><h3><h4><h5><h6><ul><ol><li><span><font>'.
            '<table><thead><tbody><tfoot><tr><td><th><colgroup><col>',
            '_keep_all_'
        )
    );
    $product['products_description'] .= $cache;
}

Für Rakuten z.B.:
<?php
if ($marketplace == 'tradoria') {
    $product['products_description'] = $product['products_short_description'] . $product['products_description'];
}

Für Amazon benötigen wir einen anderen Hook-Point (AmazonApply_populateGenericData).
Der Hook würde dann wie folgt aussehen:
<?php
    $genericDataStructure['Description'] = $product['products_short_description'] . $product['products_description'];