View Single Post
  #10  
Old 12-15-2010, 04:04 PM
 
almatesic almatesic is offline
 

Member
  
Join Date: Jul 2010
Posts: 12
 

Default Re: Displaying Manufacturer Details

So i displayed the manufacturer array.

Code:
Debug [0/0]: Array ( [0] => Array ( [manufacturerid] => 1 [manufacturer] => Hubert [url] => http://www.imdb.com/name/nm0209168/ [descr] => [orderby] => 10 [provider] => admin [avail] => Y [meta_description] => [meta_keywords] => [title_tag] =>

Then in products.php i assigned the variable m_url using the following code:
Code:
$smarty->assign("m_url", $manufacturer[0]["url"]);

Finally i call it in product_details.tpl by doing the following:

Code:
{ $m_url }



However its not displaying. What am i doing wrong here? I've tried many things and so on, but nothing.

Please help and thanks in advance.
__________________
Albino D. Matesic
--------------------
x-cart version 4.3.2
Reply With Quote