Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Breadcrumbs, Controlling Defaults

  1. #1
    lmrazek is offline Member
    Join Date
    Oct 2004
    Posts
    34

    Default Breadcrumbs, Controlling Defaults

    Hi:

    Quick question regarding how breadcrumbs are rendered.

    1. When I navigate to a product via a category --> subcategory --> product, the breadcrumb displays correctly. To test this, go to website, choose "note cards" ---> "Bandana dog note cards" ---> "bandana dog color edged note cards". The breadcrumb displays correctly.

    However, If I link directly to a product via the related products tab (try clicking on one of the related products below), the storefront chooses a category mapping from random (a correct one, as the product is classified under several categories).

    My question is can we set a "default" category mapping for a product? Otherwise we may just remove the product(s) from multiple categories.

    Thanks!

    Larry M.
    Last edited by Jesse; 11-03-2008 at 01:24 PM. Reason: security removal of website that does not follow advisories.

  2. #2
    lmrazek is offline Member
    Join Date
    Oct 2004
    Posts
    34

    Default

    Oh, and we're using: ML 7.0.2.5/7.0.2.5 Service Pack 1 version.

  3. #3
    DanV's Avatar
    DanV is offline Ursus arctos horribilis
    Join Date
    Apr 2006
    Posts
    1,568

    Default

    If the product is accessed from a link other than that on the entity page, the product page has no context of where the product is on the site, so in order to build that context we search the entity tree and find the first valid mapping for the product to generate the breadcrumb. This tends to be by category ID, and lowest ID wins.

  4. #4
    lmrazek is offline Member
    Join Date
    Oct 2004
    Posts
    34

    Default

    That makes sense; thanks for the concise explanation.

  5. #5
    thewronggrape is offline Junior Member
    Join Date
    Oct 2011
    Posts
    1

    Default Workaround?

    This is an old thread but wondering if there's a workaround for this?

    What we're doing is using an XML package in a topic page to link to products mentioned in our topic page. The product breadcrumb defaults to the newest category that was created in which that product is mapped to, but it would be more helpful to our customer if it mapped to a different category.

    Is there a way to set it to ignore certain category IDs and then pick the next one?