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
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