Hallo,
Habe folgendes kleines Problem.
Es wurde ein neuer commerce Seo Shop aufgesetzt inkl Fixpack 8.
Ich habe das Produkt Promotion V2.0 normal installiert leider gibt es in der Installationsanweisung ein Problem.
In der Installationsanleitung steht
/admin/includes/classes/categories.php
**********************************************************
Suche, das erste vorkommen:
foreach($languages AS $lang) {
$language_id = $lang['id'];
Ersetze mit:
$n = sizeof($languages);
for($i = 0; $i < $n; $i++){
$language_id = $languages[$i]['id'];
if($_FILES['products_promotion_image'.$i]['name'] != '') {
if ($image = &xtc_try_upload('products_promotion_image'.$i, DIR_FS_CATALOG_IMAGES.'products_promotion/')) {
$paname_arr = explode('.',$image -> filename);
$pnsuffix = array_pop($paname_arr);
$products_promotion_imagename = $products_id. '_'. $i .'.' . $pnsuffix;
@unlink(DIR_FS_CATALOG_IMAGES.'products_promotion/'.$products_promotion_imagename);
rename(DIR_FS_CATALOG_IMAGES.'products_promotion/'.$image -> filename, DIR_FS_CATALOG_IMAGES.'products_promotion/'.$products_promotion_imagename);
}
} elseif($products_data['del_products_promotion_image'. $i] == true) {
$products_promotion_imagename = '';
} else {
Das Problem besteht darin das in der neuen Commerce Seo Veriosn mit FP 8 die /admin/includes/classes/categories.php komplett geändert ist.
Wer kann mir helfen das das Modul auch mit der neuen Version funktioniert... Ich brauche nur die geänderte categories.php
Vielen Dank.