Do you know how to accomplish the same thing in the products_all listing?
I tried plugging the anchor part of your code into this tpl_modules_products_all_listing.php but it is not retrieving the manufacturers_id.
PHP Code:
if (PRODUCT_ALL_LIST_MANUFACTURER != '0' and zen_get_show_product_switch($products_all->fields['products_id'], 'manufacturer')) {
$display_products_manufacturers_name = ($products_all->fields['manufacturers_name'] != '' ? TEXT_MANUFACTURER . ' ' . '<a href="' . zen_href_link(zen_get_products_manufacturers_id($product_id). FILENAME_DEFAULT,'manufacturers_id=' . $product_info->fields['manufacturers_id']). '">' . $products_all->fields['manufacturers_name'] . '</a>' . str_repeat('<br clear="all" />', substr(PRODUCT_ALL_LIST_MANUFACTURER, 3, 1)) : '');
} else {
$display_products_manufacturers_name = '';
}
I also tried replacing $product_info with $products_all but that didn't work.
I will appreciate any insight that you or anyone else can provide.
Bookmarks