Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

how to add manufacturer to product_info.php


Recommended Posts

Hello everyone,



I re-designed the layout of the product_info.php file, and i have everything working just the way i like it, but what i want to do is put a link on the product_info.php file to the Manufacturer's other products just like it would be in the Manufacturer infobox. How would i put the code in the product_info.php file to show the Manufacturer's name and have it linked to all of the Manufacturers products?


I hope i explained it right.


Thanks for the help! :)

Link to comment
Share on other sites

Hello rseigel,


Yeah i had a peak on how its done in the Manufacturers box, and i got the Manufacturers name to display and make it a clickable link but when i clicked on the link it just said product not found, i am not good with php and i am learning but it looks like its no adding the id in the link. if you could help me out with the code it would be great!

Link to comment
Share on other sites

  • 2 months later...

Try this code.


echo '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers['manufacturers_id'] . '">' . $manufacturers['manufacturers_name'], 'NONSSL', false) . '">' . $manufacturers['manufacturers_name'] . '</a><br>';

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...