Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Manufacturers Logo in Manufacturer Page instead of Category Image

Manufacturers Logo in Manufacturer Page instead of Category Image

Locked

Started by jeanjeanitaly on 1 Nov 2010, 10:27 PM · Views: 614

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
1 Nov 2010, 10:27 PM
#1
jeanjeanitaly avatar

jeanjeanitaly

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Post #1 by jeanjeanitaly

Hi,

On my website i'm trying to show the manufacturer logo instead of the category image when manufacturer products page is shown.

My try untill now is in tpl_index_product_list.php add the follwoing code:

$man_id = $_GET['manufacturers_id'];
$query = "SELECT `manufacturers_image` FROM `gsdbmanufacturers` where manufacturers_id = '" . (int)$man_id . "'";
$db->Execute($query); 

$result = $db->Execute($sql);

echo $result->fields['manufacturers_image'];

But it doesnt work, it doesnt show anything. Where is my error?