Jump to content
xt:Commerce Community Forum

manufactures_info url anzeigen?


Paradise

Recommended Posts

Hallöchen,

ich habe

$module_smarty = new Smarty;

$module_smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/');


$manufacturers_query = "select manufacturers_name,

manufacturers_id,

manufacturers_image FROM

" . TABLE_MANUFACTURERS . " order by manufacturers_name";



//db Cache

$manufacturers_query = xtDBquery($manufacturers_query);

$module_content = array();

while ($manufacturers = xtc_db_fetch_array(&$manufacturers_query,true)) {

$module_content[]=array(

'ID' => $manufacturers['manufacturers_id'],

'MAN_NAME' => $manufacturers['manufacturers_name'],

'MAN_IMAGE' => DIR_WS_IMAGES . $manufacturers['manufacturers_image'],

'MAN_LINK' => DIR_WS_CATALOG . 'index.php?manufacturers_id=' . $manufacturers['manufacturers_id']);



}[/PHP]

und kann so Bild und Hersteller Name mit {$module_data.MAN_IMAGE} und {$module_data.MAN_NAME} anzeigen lassen. Nun möchte ich aber moch die Hersteller-URL und weis nicht wie ich diese einbinden muss, da sie in der Tabelle manufactures_info ist und nicht in der manufactures.

Link to comment
Share on other sites

Archived

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

×
  • Create New...