Image in catalog terms

Posts: 1
Joined: 06/26/2008

Hi there,

I'm using übercart on my site, and I love it's possibilities, but I'm having a slight problem.

In my catalog I have various sections of clothing and utilities categories. In the category admin I can upload images for all of these categories.
Now I'm trying to create a category next to the catalog which contains brandnames (and these brands need their own pictures). However when I create this category I am not able to add pictures to the list terms within.
I've tried almost anything I could come up with, with content-types, vocabularies and terms, but thusfar I'm not able to get an image field in it.

I tried a workaround by making the brand field just another Catalog category, which could be selected for products at the same time the respective category was selected, but this gives me a huge 2-directional search problem when I try to create views. So this option was not a solution.

Thus my question is; how did you get the image field in the catalog list terms?

(Imagecache is installed)

Kind regards

Posts: 107
Joined: 05/28/2008

Wow, I completely did not notice that you could only add images to Ubercart catalog vocabularies.

There are a couple solutions that you might try:
1) try uc_manufacturer module, possibly find/replacing "manufacturer" with "brand"? That allows a "logo" for each manufacturer, and creates its own vocabulary.
2) take a look at taxonomy_image, a drupal module that may be right up your alley.

good luck!

Posts: 107
Joined: 08/07/2007
Bug FinderGetting busy with the Ubercode.

I I'm not mistaken, the image is added through hook_form_alter in the catalog module. A custom table is added to the database to associate the terms and the images, with a few helper functions / other hooks to facilitate the saving / pulling from the database.

Another option for you might be the taxonomy image module. http://drupal.org/project/taxonomy_image