Need advice on setting up my categories, vocabularies, etc. (music/equipment/clothing store)

Posts: 115
Joined: 08/07/2007
Uber DonorBug FinderEarly adopter... addicted to alphas.Spreading the word - Ubercart for president.

This is G o o g l e's cache of http://www.ubercart.org/forum/support/1632/need_advice_setting_my_catego... as retrieved on Aug 1, 2007 14:16:37 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:u6Uwq1v5uHwJ:www.ubercart.org/forum...

Google is neither affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: 08 01 2007
Ubercart

* Home
* Documentation
* Forums
* Issues
* Livetest

Home » Forums » Ubercart » Support
Need advice on setting up my categories, vocabularies, etc. (music/equipment/clothing store)
Submitted by davidx on Wed, 08/01/2007 - 05:05
davidx
Posts: 1
Joined: 08/01/2007

I'm new to drupal, and have some questions (before I go and start setting up a crazy hierarchy which may not a good approach). Here's a simplified example of my store inventory taxonomies:

Products:
-Records
--7'
--10"
--12"
-CDs
--artist CDs
--dj mixed CDs
-DigitalFiles
--Singles
--Albums [Product Kit perhaps?]
-Shirts
--Mens
--Ladies
easy enough so far. a simple single hierarchy texonomy for this one it would seem.

Genres:
-House
--funky house
--old-school house
--tech-house
-Techno
--minimal techno
--tech-house
etc...
so genres would be a multiple hierarchy i think since subgenres sometimes can have attributes from more than one root genre, and, a product may contain songs of various genres.

1. Can i do this with just the Products category type? e.g. Genres does not apply to shirts,
or audio equipment. So if I define genres as a vocabulary and say it applies to Products, well what if
I don't want it to apply to Shirts (which is a Product)?
Because Genre is required for a CD, but if i say required in the vocabulary edit page (for all Products),
then it would also be required for shirts, right? (Am I making this too complicated?) Or would I be better
off defining a music product category type and a non-music product category type?

2. Why is Manufacturers a vocabulary? Why not just an attribute of a Product?

3. I saw something saying thickbox is required? But that takes literally 10 Seconds just to show an image!? And 5 Seconds just to close its 'window'. And Drupal takes 5 Seconds just to create the front page, and i have added no nodes yet. What can I strip out to make this faster? I do have a fast server (bluehost). My current site pops up in like .1 Seconds and works great even in a cell phone browser.

4. Considering my types of inventory and no need for fancy image handling, no desire for fancy thickbox sorts of bloated accessibility-hindering widgetry, do I need CCK/views/ubrowser at all? All my audio and images I just want to be plain files, referenced only by a url/link in the ubercart product description. I prefer to just ftp those files to the server. Is drupal overkill for my application?

5. What is the terminology for the equivalent of a database field in drupal? e.g. my DB has an inventory table with columns artist, title, label, audioUrl, price, etc. Would those be 'terms' in drupal or something else?

Any general tips would be greatly appreciated. (Check out my existing site for a better example of my inventory Smiling I apologize if my terminology is off, and for the dumb questions.

Thanks,
David
www.unrec.com

* Add new comment

permalinkWed, 08/01/2007 - 08:27
Lyle

Posts: 563
Joined: 09/26/2006
AdministratoreLiTe!

Hi, David. I think you're on the right track to understanding how Drupal works. I think these are good questions for you to consider.

1. I think you've answered your own question here. You'll have an easier time if you make a different product class for each type of thing you want to sell. Then your Genre vocabulary can be required for both media files and media discs and not anything else.

2. I felt like it. Eye-wink Manufacturer was a very early module, and I knew that you could group things by taxonomy easily, so I went that route.

3. Thickbox isn't required so much as recommended. If you don't need it, don't install it. Übercart can run just fine without it.

4. I suppose you really can do without CCK and images. You might still want CCK to put different fields on your products to differentiate shirts and CDs, but maybe you're not worried about that. The uBrowser, though, you really should keep. It's important if you ever have to add a product to an order. It's only used in the admin sections, so your customers won't ever have to deal with it.

5. I just call them fields. In Drupal, the focus is more on the objects that are created by rows in the database and less on the individual data fields.

* reply

Posts: 4
Joined: 08/08/2007

It could be that I'm over-thinking Drupal categories/taxonomy/etc, but I can't get a handle on it. Say I want to have a hierarchy that looks like this:

-Books
---Music
---Art

-Magazines
---Music
---Art

Should Books/Music and Magazines/Music be completely separate entities, or can a single "Music" category peacefully exist as a child category in both the Books and Magazines hierarchy?

Apologies if this question makes no sense. I'm getting a headache just thinking about it. Smiling

B

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

You can have either one Music category that exists in both Books and Magazines, or two separate categories called Music that live in different places. What you have to decide is whether you want to have the same products in Books/Music and Magazines/Music. Having one category means you will see the same products no matter which way you get there. With two different categories, you can control which ones will be seen based on which parent category the user came from. If you put a product in both categories, "Music" would be listed twice in the tag list, so keep that in mind as well.

Posts: 4
Joined: 08/08/2007

That clears things up a lot, thank you.