Hi all, using ZC 1.3.8a and trying to implement additional filters (similar to manufacturer filter), with some success but recently have hit a few hurdles.
first a little background:
site: http://www.qualityhomebrew.com.au/?access=admin
1) client requires multiple categories that can be cross-referenced, and that are not necessarily heirarchical, as is the case with "sub-categories". e.g. manufacturer A makes product type A & B, but manufacturer B makes product type B & C. client wants to be able to display both manufacturer and product type either independently (as in the manufacturers sidebox), or as a list that is restricted to the context of the currently selected product type.
2) created copies of manufacturers and manufacturers_info tables, and replicated code throughout admin section to be able to create 2 additional "product categorisations" (product type, and product range). this works correctly so far.
3) took manufacturers sidebox add-in written by vinaykant (icons for manufacturers) and modified to reflect new tables and fields.
now the problem:
1) i can see the new category names and icons, but am a little confused how the 'default filter' template is applied. seems to be specified using a variable called $get_option_variable, however i am uncertain if i need to set up multiple variables for each different category, or if i can do it dynamically based on the linke selected.
this probably all seems a little vague, but i would dearly love someone to comment on where the default filter template is called in order to set this variable as it would save me a stack of time to simply make the call/include dynamic!
many thanks in advance
andrejs




