Antwort #9 am: 12. Oktober 2012, 23:07:39
Also, ich habe die Dateien nach give_shipping_costs durchsucht mit Notepad. Das Ergebnis war, dass es dies noch in der inlucdes/classes/product.php gibt
Zeile 26
function give_shipping_costs(){
require_once('order.php');
require_once(DIR_WS_MODULES.'shipping/table.php');
global $order, $xtPrice;
$order = new order();
$shipping_weight = $this->data["products_weight"];
$shipping_num_boxes = 1;
$t = new table();
$quote = $t->quote('', $shipping_weight);
$cost = $xtPrice->xtcFormat($xtPrice->xtcAddTax($quote['methods'][0]['cost'],$quote['tax']), true);
return $cost;
}
function product($pID = 0) {
$this->pID = $pID;
// BOF - Tomcraft - 2009-10-30 - noimage.gif is displayed, when no image is defined
//$this->useStandardImage=false;
$this->useStandardImage=true;
// EOF - Tomcraft - 2009-10-30 - noimage.gif is displayed, when no image is defined
$this->standardImage='noimage.gif';
// BOF - DokuMan - 2010-03-12 - bugfix, wrong comparison
//if ($pID = 0) {
if ($pID == 0) {
// EOF - DokuMan - 2010-03-12 - bugfix, wrong comparison
$this->isProduct = false;
return;
}
und Zeile (bei mir) 482
'SHIPPING' => ($products_price['plain'] >=500?'(versandkostenfrei)':$myP->give_shipping_costs()),
Auch wenn ich beide Änderungen durchführe, erscheint nur eine weiße Seite in der Product_info
Hat noch jemand eine Idee?