Zen Follower
- Join Date:
- Sep 2005
- Location:
- Hong Kong
- Posts:
- 301
- Plugin Contributions:
- 0
Question regarding $manufacturers_id in tpl_product_info_display.php
Hi everyone,
In my previous shopping cart (1.3.8) I was able to use these codes in tpl_product_info_display.php to turn the manufacturer name into a link, but now that I'm using 1.5.1 the codes no longer work... It correctly turns into a link but there is nothing at the end of "index.php?main_page=index&manufacturers_id=", which means when I click on the link it redirects me to the homepage.
I'm not familiar with php so if anyone could help me out that would be greatly appreciated... thanks in advance!
<?php echo '<li>' . TEXT_PRODUCT_MANUFACTURER . '<a class="manufacturerlink" href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers_id) . '" title="' . $manufacturers_name . '">' . $manufacturers_name . "</a></li>\n"; ?>
Keywords: manufacturer link, clickable manufacturer name, manufacturer id