We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43288
    • 35 Posts
    Hi,
    I have a flat set of "product" resources in a container, but when I show one, I want to be able to "pretend" that it is a child of a specific landing page of similar products by inserting its default category page before it in the breadcrumbs. So my resources look like this:

    Landing Pages
    - Clothing
    - Jewelry

    Products Container
    - Running Shoes (has a TV pointing to Clothing resource)
    - Pearl Necklace (has a TV pointing to Jewelry resource)

    Desired breadcrumbs for products:
    - Home > Clothing > Running Shoes
    - Home > Jewelry > Pearl Necklace

    Right now, my site has the much less desirable:
    - Home > All Products > Running Shoes
    - Home > All Products > Pearl Necklace

    What is considered the "best practice" way of accomplishing this result? Is there an Addon for dynamically generating a list of Clothing==12||Jewelry==13... input for the TV dropdown for a specific kind of resource, or do I need to write my own snippet to do this? I could slog through this myself probably, but I don't want to reinvent the wheel if this is a typical pattern that others have reduced to a simple solution.

    Thanks for any thoughts or guidance.

    watou
      • 43288
      • 35 Posts
      Just to close this question, I've come to the conclusion that the best way to do this is to not do it at all, but instead to have "product" resources as children of the various landing pages, so the breadcrumbs have no special logic required. Many other little details fall into place when you use the resource parent/child relationships as they were intended. Doing so doesn't meet every need (such as having "holiday" landing pages that use a tvFilters TV), but it stops the process of having to work around it so much.