View Single Post
  #4  
Old 08-06-2010, 10:20 PM
 
karan karan is offline
 

Member
  
Join Date: Aug 2010
Posts: 12
 

Default Re: Product Detail Page

Thanks for the help. It worked.

Next Questions I have is (Sorry for many questions, I have very small budget and trying to do most I can.)

I added the field "provider" in the category table.

In the admin/category_modify.php, under
#
# Add/Update category data
#

I added:
if ($login_type == "A") {
$providers = func_query("SELECT login, title, firstname, lastname FROM $sql_tbl[customers] WHERE usertype='P' ORDER BY login, lastname, firstname");

}

I know this is selecting all the providers from the table. I am wondering, like in product_modify, if the admin is adding product, it ask for provider, how can I make it where if admin (me) us adding category, I can assign proder to it. I am not able to make it, where it gives the similar dropdown menu in category modify as in product modify.

Thanks in advance for your help.

Karan
Reply With Quote