I'm having an issue with the WP E-commerce wpsc_the_category_title function. I can't understand what is causing it to work when it does, and not work when it doesn't. When it works, it should be writing the single product category's name at the top of the single product's listing page; and it should write 'All Products' at the top of a list of—you guessed it—all the products.
What it is currently doing is writing the product category name when the product has 1 item, or any number of items except 0 or 2 with the exception of two categories, or... It's maddening because it varies depending on which item is selected under Settings > Store > Presentation > Sort Product By: Name, Price, Drag & Drop, or Time Uploaded.
There are two product categories which are always listed with their product category names, and five categories which are never listed with their product category names at the top of the page.
The categories that always have their names written at the top of the listings page all have 1 product,the two which never have their names written have two and three products respectively, but they are not the only categories which only have two or three categories.
The site is at http://www.pearlquest.net/PearlsPlaza, and a few of the listings are here:
Never show product category name:
Shows the product category name only when 'Price' is selected on the Presentation Settings page:
Shows the product category name only when 'Name' or 'Drag & Drop' are selected on the Presentation Settings page:
I've scanned through theme.functions.php and removed filters, but that didn't change anything. I've put them all back, so it is as it was out of the box, so to speak.
Any help would be so greatly appreciated, thanks!