Announcement

Collapse
No announcement yet.

View All link

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

    View All link

    I am trying to create a View All link. I've tried

    Code:
    <a class="view-all" href="&mvt:global:sessionurl;Screen=CTGY&Category_Code=&mvta:global:Category_Code;&Per_Page=99999&Sort_By=disp_order&Store_Code=&mvt:global:Store_Code;" rel="nofollow">View All</a>
    It work when first tested, but lost the actual sort by abilities

    Code:
     <li><a href="&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvt:global:Store_Code;&Offset=&mvt:global:Offset;&Sort_By=price_desc&Category_Code=&mvta:global:Category_Code;" rel="nofollow">High</a></li>
    
     <li><a href="&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvt:global:Store_Code;&Offset=&mvt:global:Offset;&Sort_By=price_asc&Category_Code=&mvta:global:Category_Code;" rel="nofollow">Low</a></li>
    Now the View All link has stopped working all together.

    I've also tried

    Code:
    <a class="view-all" href="&mvt:global:sessionurl;Screen=CTGY&Category_Code=&mvta:global:Category_Code;&ProductsPerPage=99999&Sort_By=disp_order&Store_Code=&mvt:global:Store_Code;" rel="nofollow">View All</a>
    Any suggestion are gratefully welcome!

    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: View All link

    Might need the offset value of zero.
    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: View All link

      I'm still not getting anywhere with this. I looked at what the default sort drop down is using for All

      Code:
      <mvt:if expr="g.Per_Page EQ -1">					<option value="-1" selected="selected">All</option>
      				<mvt:else>
      					<option value="-1">All</option>
      				</mvt:if>
      So I've tried changing the link to

      Code:
      <a class="view-all" href="&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvt:global:Store_Code;&Category_Code=&mvta:global:Category_Code;&Sort_By=&mvte:global:Sort_By;&Per_Page=-1" rel="nofollow">View all</a>
      I did try throwing in an offset value - that didn't help either.

      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

      Comment


        #4
        Re: View All link

        Hey Leslie -

        See an example here:

        http://suivant-theme.mivamerchantdev...ory/shoes.html
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Re: View All link

          Think I'm gonna scream now. I took this code straight out of one of the ReadyThemes


          Code:
          <mvt:if expr="g.Per_Page EQ -1">					<li><a href="&mvte:global:sessionurl;Screen=&mvte:global:Screen;&Store_Code=&mvte:global:Store_Code;&Category_Code=&mvte:global:Category_Code;&Product_Code=&mvte:global:Product_Code;&Search=&mvte:global:Search;&Sort_By=&mvte:global:Sort_By;&Per_Page=-1" data-selected="selected">All</a></li>
          				<mvt:else>
          					<li><a href="&mvte:global:sessionurl;Screen=&mvte:global:Screen;&Store_Code=&mvte:global:Store_Code;&Category_Code=&mvte:global:Category_Code;&Product_Code=&mvte:global:Product_Code;&Search=&mvte:global:Search;&Sort_By=&mvte:global:Sort_By;&Per_Page=-1">All</a></li>
          				</mvt:if>
          And I still can't get a View All link to work .......
          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

          Comment


            #6
            Re: View All link

            Originally posted by Brennan View Post
            Yup and I still can't get it to work
            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

            Comment


              #7
              Re: View All link

              Do you have Category Template Manager installed or anything that could be overwriting those variables?
              Brennan Heyde
              VP Product
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #8
                Re: View All link

                That module was deactivated, but not removed from the store. This is the last snippet that I have been trying to replace from it.
                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

                Comment


                  #9
                  Re: View All link

                  You may want to try removing it. I have seen strange things like this before with it installed.
                  Brennan Heyde
                  VP Product
                  Miva, Inc.
                  [email protected]
                  https://www.miva.com

                  Comment


                    #10
                    Re: View All link

                    You could be on to something, it's being a persistent cuss and won't let me delete it.
                    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

                    Comment


                      #11
                      Re: View All link

                      No joy in Mudville - I've completely deleted the module and it still does not work
                      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

                      Comment


                        #12
                        Re: View All link

                        triple check your page item assignments...i know that's what usually trips me up...
                        Last edited by Bruce - PhosphorMedia; 01-30-15, 05:01 PM.
                        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


                          #13
                          Re: View All link

                          Page item assignments? I removed the module. What do I need to assign? The code I'm trying to use is default store morph code now.
                          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

                          Comment


                            #14
                            Re: View All link

                            ah snap...i thought you where trying to create an Show All Products thing...nevermind.
                            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


                              #15
                              Re: View All link

                              Originally posted by Bruce - PhosphorMedia View Post
                              ah snap...i thought you where trying to create an Show All Products thing...nevermind.
                              Yes Bruce, I AM trying to create a link on the category page that will Show All Products. I've taken the code that works in the ReadyTheme and tried to apply it to store using CSSUI. I'm trying to replace the Show All link the page was using when it had the Sebenza Category Template Manager module. I had deactivated the module (which resolve a huge load time issue) but the link still would not work. I have completely removed the module and link code still does not work. If I roll the code back to where the drop down select menu has the "show all" that drop down works. I am totally stumped. I hate to have to open a support ticket for this but I may have to - the store owner is antsy for this link to work again.
                              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

                              Comment

                              Working...
                              X