I think if a product is in multiple categories then the owning page/category should be the deepest (most specific) category. If there are multiple such categories then just choose any. This way you could even have products appearing in the root "shop" category, but when they are clicked on, the breadcrumbs would show their full category and sub-category context.
So the task then becomes one of querying for all categories which contain the product, and then choosing the one with the most antecedents. I've no idea whether this can be done efficiently or not. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
