Author Topic: Adding new product(Categories)  (Read 1025 times)

mongolor

  • Beginner
  • *
  • Posts: 4
Adding new product(Categories)
« on: March 01, 2010, 09:17:58 am »
Hello!
I have in my administration panel when i trying to add a product, categories search, but before i always had a list of categories.
How i can get it back? Thanks.


bekasgr

  • Beginner
  • *
  • Posts: 10
Re: Adding new product(Categories)
« Reply #1 on: March 01, 2010, 09:52:30 am »
Probably you added new categories.
After a certain number of categories (i do not remember how many) the list disappears and a text box comes into its place.
This is done in order to make it easier for site with too many categories (imagine having a list with 700 lines !!!).
After you key in the first 3 characters all matching categories will appear (using AJAX).

I am not an expert so I hope this helps ...

rb

  • Advanced
  • Full Member
  • *****
  • Posts: 1503
Re: Adding new product(Categories)
« Reply #2 on: March 01, 2010, 16:32:13 pm »
The limit is 200 Categories before the drop down disappears and the search text box appears.  You can change the value of 200 in this file:
     administrator/components/com_virtuemart/html/product.product_form.php

Around line 259, find this:
Code: [Select]
if( $number_of_categories > 200 ) {You can change the 200 to any number you like, but as bekasgr says: imagine having a list with 700 lines.

mongolor

  • Beginner
  • *
  • Posts: 4
Re: Adding new product(Categories)
« Reply #3 on: March 01, 2010, 18:07:52 pm »
thank you for help!