I've added new vocabulary and would like to see my products exactly the same way the catalog vocabulary using uc_porudct_table. How can I assign new vocabulary to use uc_product_table ( /admin/settings/tapir )?
Still a newb but trying to learn.
|
UbercartOne cart to rule them all... |
|
| Donate to Ubercart | Affiliates | ||
uc_product_table with new added vocabulary
Submitted by apeee on Mon, 02/25/2008 - 12:07
I've added new vocabulary and would like to see my products exactly the same way the catalog vocabulary using uc_porudct_table. How can I assign new vocabulary to use uc_product_table ( /admin/settings/tapir )? Still a newb but trying to learn.
To use more than one vocabulary with the catalog, you've got to make some pages that call the catalog's theme functions. The one you really need is theme_uc_catalog_browse(), which takes the term's tid as an argument. The easiest ting might be to make a new module that copies that theme function and that entry in uc_catalog_menu(). Instead of pointing to catalog/ it would go to some other page and pass in the term ids to it.
|
|
Joined: 12/11/2007