I'm developing a web store with WPEC (WP e-Commerce 18.104.22.168.2) and a theme that supports for WPSEO's breadcrumbs. WPEC has its own breadcrumb support, but it doesn't integrate well with the theme and doesn't appear anywhere else, only in products pages. So, I replaced calls to WPEC's own breadcrumbs (wpsc_output_breadcrumbs) in its template files with calls to WPSEO's ones (yoast_breadcrumb). But, while this works quite nicely, there's a very small problem in that WPSEO's breadcrumbs don't include WPEC's "Products" page.
Here's how it looks like with the built-in wpsc_output_breadcrumbs():
Blog-name > Products > Product-category > Product-sub-category > Product-name
And here's how it looks with yoast_breadcrumb():
Home-name-as-set-in-WPSEO / Product-category / Product-sub-category / Product-name
With the odd result that, if I open the bare "Products" page (it's an actual page), it shows a single slash followed by nothing:
So, is there a good/elegant way yoast_breadcrumb() could be edited so that it'd detect whether WPEC is running and insert WPEC's "Products" page at the appropriate place, so that it'd end up looking like this?
Home-name-as-set-in-WPSEO / Products / Product-category / Product-sub-category / Product-name