Jump to content
xt:Commerce Community Forum

Herstellername im Titel und der product_info


heidrun

Recommended Posts

f?r version 3.x

in der datei ../includes/modules/product_info.php

nach

else {

if ($product_info['products_date_added']!='0000-00-00 00:00:00') $info_smarty->assign('PRODUCTS_ADDED',sprintf(TEXT_DATE_ADDED, xtc_date_long($product_info['products_date_added']))); }

-----------------------> folgendes Einf?gen

////

if (isset($_GET['products_id'])) {

$manufacturer_query = xtc_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$_SESSION['languages_id'] . "'), " . TABLE_PRODUCTS . " p where p.products_id = '" . (int)$_GET['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");

if (xtc_db_num_rows($manufacturer_query)) {

$manufacturer = xtc_db_fetch_array($manufacturer_query);

$info_smarty->assign('NAME',$manufacturer['manufacturers_name']);

in deinem Template unter module/product_info/product_info_v1.html

$Name an der Stelle einf?gen, an der der Hersteller angezeigt werden soll.

Mit dem Titel hab ich mich noch nicht besch?ftigt....

Link to comment
Share on other sites

  • 3 months later...
  • 2 years later...
  • 6 months later...

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...