New Zenner
- Join Date:
- Jan 2009
- Location:
- Czech Republic
- Posts:
- 59
- Plugin Contributions:
- 0
Post #1 by neboztik
Hi, I have trouble with linking on other product of the same manufacture in product_info. I tried to make code on my own by copying the code from manufacturers_info side box but it doesn´t work. When I click on the link it links me on the main page. I am very weak in PHP but for most of you it shouldn´t be big deal.
There is code that I´ve made so far:
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer->fields['manufacturers_id']) . '">' . $manufacturers_name . '</a></li>' : '') . "n"; ?>