ok
I see what's going on.
uc_catalog_set_breadcrumb() is calling
taxonomy_term_count_nodes() with the parent
of the subcategory.
eg Jewelry when on the earrings subcategory page.
taxonomy_term_count_nodes then counts all
the products from each category and subcategory
and returns the total.
eg
7 Jewelry (parent)
3 bracelets
+4 earrings
----
14 total <- I thought it would return only 7
which is the total # of products
in the Jewelry category.
Maybe my problem is in how I categorize my items.
I put every jewelry item in 2 categories.
eg An earring is in the Jewelry category and the
earrings subcategory.
The reason I did this is so that when you click on
Jewelry all the items in the subcategories are shown.
Otherwise it was empty until one clicks on a subcategory.
Is my thinking here wrong?
Is there a better way of setting this up?
I appreciate any help.
Thanks,
e.



Joined: 10/13/2007