9 replies [Last post]
ansraj's picture
Offline
Joined: 10/23/2007
Juice: 16
Was this information Helpful?

Hello,

I am trying to figure out how to assign categories when adding new product.
My Ubercart installation doesn't seem to have any way to do it when creating new product.
I want to make sure that I am not missing something in my installation.

Thanks
-Raj

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: Assigning categories when adding new product

you mean go to /admin categories and enter some for product? Puzzled

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Assigning categories when adding new product

You have to create some categories before you can put products in them. In "Content management" under the "Administer" section is a link the Category administration. Add terms to the Product Catalog, and then you will see a select box in the product edit forms.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Assigning categories when adding new product

You know... it wouldn't be a bad idea for us to find or use a module that lets you add a new term on the fly like this... that really makes a lot of sense for tedious product entry.

amitaibu@drupal.org's picture
Offline
Bug Finder
Joined: 09/08/2007
Juice: 239
Maybe NAT module can work in

Maybe NAT module can work in this case.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Maybe NAT module can work in

Maybe... it's automatically creating a term for every node, though, and we'd really just want it to be optional when selecting a term from the list.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Maybe NAT module can work in

You could enable "free-tagging" for the product catalog. You would have to move the terms around to make a hierarchical directory structure afterwards, though. That might be slightly better than having to make the categories first.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Maybe NAT module can work in

Nah, you need the hierarchy, especially subcategories may have the same name. I envision a simple collapsible fieldset that lets you specify a parent term, a name, and a weight (default:0) to create a new category for the field. I'm not saying this should be built into the product module... might be worth being its own module that other sites and projects can use. There may already be something like this. Puzzled

ansraj's picture
Offline
Joined: 10/23/2007
Juice: 16
Re: Assigning categories when adding new product

Thanks for all your replies.

I have a fully defined catalog in the database. My problem was when adding a new product there was no select box for assigning the category where the product belongs.
I traced the problem to unassigning the "catalog" vocabulary to the product content type.
After I assigned it back to the product content type the category select box appeared in the new product page.

Thanks

milplus's picture
Offline
Joined: 11/27/2010
Juice: 149
CATEGORY OR CLASS?

guys
I understand Category is a Drupal additional module. not installed in core base version.

I cannot find this link into the administration section of the content management. Said that I have to install UBERCART Store onto my drupal.

for this reason I see by UBERCART guide CLASSES act same way of categories. Classess have to be assigned to a product instead categories. Please if someone can hel in this.
I'm desperately looking ofr a scheme that show the structure of drupal and merged with the structure char tof UBERCART.

O personelly found ubercart guide or documentation quite poor on this terms.

thanks
viktor