View Single Post
  #2  
Old 12-10-2010, 10:40 AM
 
almatesic almatesic is offline
 

Member
  
Join Date: Jul 2010
Posts: 12
 

Default Re: Displaying Manufacturer Details

In product.php I added the following code.
Code:
$manufacturer = func_query("SELECT * FROM xcart_manufacturers WHERE manufacturerid = 1"); $smarty->assign("m_url", $manufacturer[0]["url"]);

I would think since i hard coded the query i would pull at least one record and assign the m_url variable with something I know exists.

Then in product_details.php i added
Code:
{ m_url }.

However nothing shows up.

This comes back to my original question how can i show the proper manufacturer url for the corresponding product.

I've been searching and reading up and nothing seems to be working.

What am i doing wrong?

thanks,
al
__________________
Albino D. Matesic
--------------------
x-cart version 4.3.2
Reply With Quote