Guest Posted February 1, 2009 Share Posted February 1, 2009 Hello, I'm trying to add link to manufacturer name in the products_new.php but the it looks like it is not reading the manufacturers_id.... I've tried to use the codes below but no luck.. any help? ---------------------------------------------------------- <?php echo '<a href="' . tep_href_link('genre_search.php', 'manufacturers_id=' . $products_new['manufacturers_id']) . '">' . $products_new['manufacturers_name'] . '</a>'; ?> <?php echo '<a href="' . tep_href_link('genre_search.php', 'manufacturers_id=' . $manufacturers . (isset($HTTP_GET_VARS['id']) ? '' . $HTTP_GET_VARS['manufacturers_id'] : '')) . '">' . $products_new['manufacturers_name'] . '</a>'; ?> <?php echo '<a href="' . tep_href_link('genre_search.php', 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id']) . '">' . $products_new['manufacturers_name'] . '</a>'; ?> <?php echo '<a href="' . tep_href_link('genre_search.php', 'manufacturers_id=' . $manufacturers_id . (isset($HTTP_GET_VARS['id']) ? '' . $HTTP_GET_VARS['manufacturers_id'] : '')) . '">' . $products_new['manufacturers_name'] . '</a>'; ?> ---------------------------------------------------------- Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.