Also...hau mal dein ganzes Zeug aus den Datein raus...öffne die shop.product_details.php, srolle bis ganz ans Ende wo kommt:
PHP-Code:
/* Finish and Print out the Page */
echo $tpl->fetch( '/product_details/'.$flypage . '.php' );
und füge davor ein:
PHP-Code:
// Einzelpreis
$sqlgp = mysql_query("SELECT product_price, product_id FROM jos_vm_product_price
WHERE product_id = $product_id");
while($rowgp = mysql_fetch_object($sqlgp)){
$einzelpreis = $rowgp->product_price;
}
$tpl->set( "einzelpreis", $einzelpreis);
// Steuersatz
$sqltax = mysql_query("SELECT DISTINCT tax_rate, tax_rate_id FROM jos_vm_tax_rate,jos_vm_product WHERE tax_rate_id = product_tax_id AND product_id = $product_id");
while($rowtax = mysql_fetch_object($sqltax)){
$tax_rate = $rowtax->tax_rate;
}
$tpl->set( "tax_rate", $tax_rate);
Jetzt kannst du in der flypage.tpl.php mit $tax_rate und $einzelpreis arbeiten..
Viel Spaß damit
Lesezeichen