Announcement

Collapse
No announcement yet.

Smart Breadcrumbs duplicating landing page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Smart Breadcrumbs duplicating landing page

    I'm using the default Smart Breadcrumbs code but for some reason it's now duplicating the page name that it land on

    Code:
    <ul>    <li><a href="&mvt:breadcrumbs:homelink;" class="breadcrumb-home">Home</a><span class="breadcrumb-border">&raquo;</span></li>
        <mvt:foreach iterator="cats" array="breadcrumbs:links">
                <mvt:if expr="l.settings:cats:name EQ '...'">
                    <li><span class="cats-hidden">&mvt:cats:name;</span><span class="breadcrumb-border">&raquo;</span></li>
                <mvt:elseif expr="l.settings:cats:code EQ l.settings:breadcrumbs:current_item:code">
                    <li><span class="current-item">&mvt:cats:name;</span></li>
                <mvt:else>
                    <li><a href="&mvt:cats:link;">&mvt:cats:name;</a><span class="breadcrumb-border">&raquo;</span></li>
                </mvt:if>
        </mvt:foreach>
    </ul>
    <div class="clear"></div>
    becomes




    Home» Shop All Categories» Shop for BooksShop for Books

    when it should be


    Home» Shop All Categories» Shop for Books
    Only the breadcrumb token is being used
    Code:
    <mvt:item name="breadcrumbs" />
    Thoughts?
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Smart Breadcrumbs duplicating landing page

    Hmm, here I thought it was only me...had this happen on two dev sites we play with...since we don't need them, we just ignore it...let me go look though.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Re: Smart Breadcrumbs duplicating landing page

      Odd, our Inspector tool is showing a duplicated content in the Breadcrumb array.



      There is only one BreadCrumbs item assigned. This is a pretty basic store (though it gets hammered on cause its one of our module dev sites).
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment


        #4
        Re: Smart Breadcrumbs duplicating landing page

        This looks to be a bug in the 5.21 engine. It will be fixed in the next release.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Re: Smart Breadcrumbs duplicating landing page

          Same here. Brennan, would you post a reply when the update is done? We have this happening on a live site. Should we disable the breadcrumbs for now?
          Susan Petracco
          NetBlazon

          1.866.400.2444

          _____________________________________________

          Like us on Facebook

          Comment


            #6
            Re: Smart Breadcrumbs duplicating landing page

            This broke a number of SearchSpring integrations today where it was being used to deliver category results based on the breadcrumbs. SearchSpring was able to implement a workaround pretty quick, but you might want to double check things are working properly if you use it in this manner.

            Comment


              #7
              Re: Smart Breadcrumbs duplicating landing page

              For the time being, you can also remove the duplicate breadcrumb link with the code that is described here: https://gist.github.com/steveosoule/...df227ab99d126d

              Comment


                #8
                Re: Smart Breadcrumbs duplicating landing page

                Was this fixed in 5.22?
                http://www.alphabetsigns.com/

                Comment


                  #9
                  Re: Smart Breadcrumbs duplicating landing page

                  Yes
                  Thanks,

                  Rick Wilson
                  CEO
                  Miva, Inc.
                  [email protected]
                  https://www.miva.com

                  Comment

                  Working...
                  X