atech Posted April 15, 2004 Posted April 15, 2004 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! :)
rseigel Posted April 15, 2004 Posted April 15, 2004 Have you looked at the code for the Manufacturers box to see how it's done there?
atech Posted April 15, 2004 Author Posted April 15, 2004 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!
Guest Posted June 30, 2004 Posted June 30, 2004 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>';
Recommended Posts
Archived
This topic is now archived and is closed to further replies.