View Single Post
  #1  
Old 09-30-2011, 06:06 PM
 
plnewton plnewton is offline
 

Advanced Member
  
Join Date: Sep 2011
Posts: 65
 

Default help displaying hidden products SKU.

I've added this; {$hidden_products.productcode} to my customer_manufacturer_products.tpl , and inside manufacturers.php I have added this code;

$newtons_query = "SELECT * FROM $sql_tbl[products] WHERE forsale = 'H' "; $hidden_products = func_query($newtons_query); //Assign the hidden_products variable (array) $smarty->assign('hidden_products', $hidden_products);



Can someone explain why this won't work? How can I display my hidden product's SKU's FOR THIS MANUFACTURER ONLY? Which files do I need to edit? What do I need to do? Someone, please help me! Thank you.
__________________
Version 4.4.3
Reply With Quote