Antwort #28 am: 07. Dezember 2010, 13:57:35
Der Fehler: In der Anleitung bei includes/classes/product.php
Folgenden Code suchen:
} else {
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
}
}
Jetzt abgeänderten Text einfügen:
// BOF Restpostenmodul
$max_qty = 1;
$max_qty_text = '';
if($array['products_quantity']> 0) {
$max_qty = $array['products_quantity'];
require_once (DIR_FS_INC.'xtc_get_vpe_name.inc.php');
$max_qty_text = $max_qty.' '.xtc_get_vpe_name($array['products_vpe_value']);
}
// EOF Restpostenmodul
Hab die abgeänderte Anleitung mal angehängt
[
EDIT franky 07.12.2010: Und jetzt mal vernünftig formatiert!
]