Also if I was to get the manufacturers url as it is entered in the admin my surely my php should look like this?
PHP Code:
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . '<a title="' . $manufacturers_name . '" href="' . $manufacturers_url . '">' . $manufacturers_name . '</a></li>' : '') . "\n"; ?> <?php echo '<a title="' . $manufacturers_name . '"href="' . $manufacturers_url . '">'; ?><?php if ($check_image = zen_get_products_manufacturers_image((int)$_GET['products_id'])) { echo zen_image(DIR_WS_IMAGES . $check_image); } else { echo 'NO IMAGE'; } ?></a>
Doesn't work though?
Note: I have replaced
PHP Code:
HTTP_SERVER . DIR_WS_CATALOG
with
PHP Code:
$manufacturers_url
- I am guessing manufacturers_url is missing from a pages/FOLDER/header_php.php or a function, but not sure where to look to get the manufacturers url out of the database
Bookmarks