Display multiple hierarchical product catalog blocks

Contrib type: 
Module
Status: 
Complete and working
Latest version: 
1.0

Downloads


Compatibility: 
Ubercart 1.x

Think that you have diffent grouping over your products. Like products grouped by poduct types and products group by producers. But you have just one catalog block that displays all the categories within one block.

Here is just an example of having two group in one catalog.

- products
  - product category 1
    - product 1
    - product 1
  - product category 2
   - product 1
   - product 1
-producer
  - producer category 1
    - product 1
    - product 1
  - producer category 2
    - product 1
    - product 1

With Multi Catalog Menu module you can compose 1 or up to 5 diffent blocks and just configure these blocks to show the related group term id with its children.

If you like please download and give a try. You will find a readme.txt within the zip file. By the way this module tested with beta5.


bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Display multiple hierarchical product catalog blocks

Okey. In uc_catalogmenu_v1 version selecting the subcatalog is more easy. Instead of finding the termId and entering to a textfield, you can just select the subcatalog item form a combobox. Please download uc_catalogmenu_v1.zip above.

boromino's picture
Offline
Joined: 02/10/2008
Juice: 18
Dependency

You should add uc_catalog to the dependencies.

Boromino - We build websites

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Dependency

Thank you. uc_catalog added. v1.1.zip

rogueturnip's picture
Offline
Joined: 04/26/2008
Juice: 2
administer taxonomy

Is there a reason that the roles need to have Administer Taxonomy selected for the menus to display? Doesn't seem to be logical.

I figured it out. I have taxonomy access permissions set up and the catalog wasn't viewable.

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: administer taxonomy

uc_catalogmenu.module does not have any role based restrictions. Please check whether the catalog.module has the same restritcion. If yes this should be discussed with the ubercart team.

eugef@drupal.org's picture
Offline
Joined: 12/24/2007
Juice: 102
Re: Re: administer taxonomy

Very usefull module

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Re: Re: administer taxonomy

glad to hear that the module is in action

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Drupal.org project page

This contribution has been posted at http://drupal.org/project/uc_catalogmenu. Please use the issue tracker to post bug reports, feature requests, etc. Questions and comments are still welcome in the forums here.

mimetic2's picture
Offline
Joined: 08/07/2007
Juice: 478
I posted this on the drupa project page

but just in case this is easier:
http://drupal.org/project/issues/uc_catalogmenu

thanks!

SpaceFairy's picture
Offline
Joined: 07/03/2008
Juice: 6
Problems getting Multi Catalog Menu to do its thing??

Ok, so... (*newbie here*) I installed the files from uc_catalogmenu_v1.1.zip, and attempted to follow the instructions in the .txt file but still got a wee bit lost.

It started out alright, I renamed Catalog Block:1 "Topics A-Z" and positioned it in the right sidebar (The initial Catalogue is in the left sidebar) so now I have a nice sentence "Topics A-Z" in my right sidebar but without any content/links/products or anything at all.

I did get a little lost over what this meant (from the installation .txt file:) "State the Catalog Term ID: (Note:just go over the catalog see the id Ex: catalog/25/xxxxx 25 is the ID)" -what the frak does this mean??

The only thing I could think of was to visit Administer/Categories, and create a "Topics A-Z" vocabulary (in which is listed the topic categories which are linked to the products) then if I move the mouse over where it says "edit vocabulary" I can see that there is a 3 in it. So is that what I put as the Catalog Term ID? (which didn't work)

I'm sure I'm missing something...

What I am actually trying to achieve is to have a catalog menu in the left sidebar which lists the Product Categories (Books, CDs, DVDs etc- so far a success) and another menu in the right sidebar which allows shoppers to browse by Topic (e.g. Angels, Fairies, Quantum Physics etc) Then if ever manage to figure this out (I'm getting closer- I just know it!) then I'll have another one for browse by Author or something similar.

So can anyone explain to me (in layman's/ newbie terms) where I've gone wrong? Am I even using the right module for what I want to do here??

Thanks for your patience & assistance Smiling)

~

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Problems getting Multi Catalog Menu to do its thing??

Please discard the "State the Catalog Term ID: (Note:just go over the catalog see the id Ex: catalog/25/xxxxx 25 is the ID)" line in readme file.

Instead of finding the termId and entering to a textfield, you can just select the subcatalog item form a combobox. To do this go to administration->site building->blocks and click configure operation of your block. Select the Catalog Term item from the combobox that you want and just save it. That is all.

SpaceFairy's picture
Offline
Joined: 07/03/2008
Juice: 6
Re: Re: Problems getting Multi Catalog Menu to do its thing??

Thankyou for your quick reply Smiling

I might still be missing something. I can't see any combo boxes on that page? (I attached the screenshot)

~

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

AttachmentSize
blocksettings.jpg 39.71 KB

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Re: Re: Problems getting Multi Catalog Menu to do its thing?

Please can you download the uc_catalogmenu_v1.zip file. May be there is a problem with the version 1.1. Will wait your feedback. Also there is a howTo.txt file within the v1.

SpaceFairy's picture
Offline
Joined: 07/03/2008
Juice: 6
Re: Re: Re: Re: Problems getting Multi Catalog Menu to do its th

Hello, I replaced it with version 1 like you suggested and it sort of worked! I can see the combobox, and all the listings in the main catalog (hooray!) However after setting it to show in the right sidebar I still can't see anything other than the title for some reason? I'll have more of a play with it... also any idea how to set it to display a different vocabulary other than the primary one? It looks like I can only select the main catalogue? Hmm...

Thanks for your help Smiling

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

"With Great Space Fairyness comes Great Responsibility"

www.spacefairy.com/blog

bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Re: Re: Re: Re: Problems getting Multi Catalog Menu to do it

-Do you have product assigned to the sub category items? Ubercart does not show the subcategories if there is no product assigned.
-Ubercart uses just one catalog. And the catalog id is defined in store configuration page. So, this module is using the id specified in the store configuration page.

You welcome.
Next week i will create a new version 1.2 to avoid the problem that you have faced. Many thanks for your help.

svihel's picture
Offline
Joined: 05/29/2008
Juice: 140
Re: Display multiple hierarchical product catalog blocks

This module also works well when combined with http://drupal.org/project/quicktabs module. Although all its doing is merging two blocks into one, it has some pretty nice graphic interface and just looks nice.

BTW for this purposes would be better to have two separate vocabularies like for example "type" and "brand". Is it possible somehow?

<strong>vocabulary:</strong> products
  - product category 1
    - product 1
    - product 1
  - product category 2
   - product 1
   - product 1
<strong>vocabulary:</strong> producer
  - producer category 1
    - product 1
    - product 1
  - producer category 2
    - product 1
    - product 1
bakyildiz's picture
Offline
Joined: 01/23/2008
Juice: 185
Re: Re: Display multiple hierarchical product catalog blocks

Yes, using quickTab is good idea.

Quote:

BTW for this purposes would be better to have two separate vocabularies like for example "type" and "brand". Is it possible somehow?

Just create two categories named brands and types with some values. Edit you product and select this values. May be that will help you.

ablewave's picture
Offline
Joined: 09/22/2008
Juice: 5
Solution to no combo box?

I posted over on the Drupal site, but wasn't sure which one you are checking. I am having the same issue that the other user did, with no combo box in the admin and no items showing up in the block. The only version I could see to download was the 5.x-1.0 version. Did I miss something? Thanks!

svihel's picture
Offline
Joined: 05/29/2008
Juice: 140
Quote:Just create two
Quote:

Just create two categories named brands and types with some values. Edit you product and select this values. May be that will help you.

Yes I'm using it this way, but I thought that if this could be in two vocabularies it would be much more user friendly for other administrators on my site to have it separetely in two boxes. But never mind, its not a big deal, and I guess this behavior is hardcoded in ubercart so we will just have to make piece with that :]

dru-pal's picture
Offline
Joined: 04/08/2009
Juice: 7
Does the port for D6 work?

Hi,

I am trying to get the Port to D6 work. Has anybody got this working on Drupal 6? Seems to be complex.

jmpoure's picture
Offline
Joined: 09/21/2009
Juice: 13
Re: Does the port for D6 work?

I tested the module. I can display the taxonomy but not the products. Is this a configuration error on my side?

I can only see :

- products
  - product category 1
  - product category 2

I used a Drupal 5 and ported it to Drupal 6 using the patch from Drupal.org issues.

MrMatthieu's picture
Offline
Joined: 11/10/2009
Juice: 7
Hi there, I'm looking for

Hi there,

I'm looking for something similar to this for drupal 6. I am trying to spread the catalog out over the various primary link tabs. In other words, I'd like to have the tabs in the primary navigation: Shoes, Accessories, Ties, etc... and its children: Shoes -> Girls -> Casual, etc... link to the appropriate products.

Any help would be deeply appreciated?

Thanks,
Matthias

afif227's picture
Offline
Joined: 11/30/2010
Juice: 54
Catalog Block

I need to build 2 catalog for my online store which have 2 pages like page 1 and page 2. Each page has different product category and sub category.how do I need to separate a catalog for my store.

Is there any one who could guide me with this query.

jddeli's picture
Offline
Joined: 11/15/2010
Juice: 38
Help

Fatal error: Class 'uc_treeNode' not found in ..../public_html/sites/all/modules/uc_catalogmenu/uc_catalogmenu.module on line 81

jddeli's picture
Offline
Joined: 11/15/2010
Juice: 38
Help

Fatal error: Class 'uc_treeNode' not found in ..../public_html/sites/all/modules/uc_catalogmenu/uc_catalogmenu.module on line 81

Elsewhere AB's picture
Offline
Joined: 05/25/2011
Juice: 3
Fix

Change in uc_catalogmenu.module

line 81 and 87

uc_treeNode($knot); -> UctreeNode($knot);

uberish's picture
Offline
Joined: 08/28/2011
Juice: 5
product class based catalog menu

Hi there,

I am new to ubercart, and using Drupal 6. I need a catalog menu that is filtered by product classes. The current catalog menu lists the catalog categories only. I need the catalog categories menu to group by product classes. Is there any hook to this one?

Thanks