Announcement

Collapse
No announcement yet.

Sort By Feature not working

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

    Sort By Feature not working

    I have a latest edition Miva 5 store that we are building. The Sort By feature is not working. I have created test orders, so there are Best Sellers, etc., but it only displays Sort By: Default.

    http://twigfootwear.mivamerchant.net...oys_shoes.html

    What is up with that?
    Holly Nelson, CEO of 2C Development Group
    www.2cdevgroup.com
    @2cdevelopment

    #2
    Re: Sort By Feature not working

    Have you checked to make sure the Sorting Options are on, sort methods are checked and the code is in place? Sorry, had to ask, I'm sure you have.

    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


      #3
      Re: Sort By Feature not working

      Yes, Leslie, Sorting is turned on, and beings that this is a fresh install, wouldn't the template come with the correct coding in it? Is that something manual that I have to do on a fresh install?
      Holly Nelson, CEO of 2C Development Group
      www.2cdevgroup.com
      @2cdevelopment

      Comment


        #4
        Re: Sort By Feature not working

        This is what is on the template:

        <mvt:if expr="l.settings:category_listing:products_on_page _count GT 1">
        <div class="sorting">
        <form method="get" action="&mvte:global:sessionurl;">
        <input type="hidden" name="Screen" value="&mvte:global:Screen;" />
        <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" />
        <input type="hidden" name="Category_Code" value="&mvte:global:Category_Code;" />
        <input type="hidden" name="Product_Code" value="&mvte:global:Product_Code;" />
        <input type="hidden" name="Search" value="&mvte:global:Search;" />
        <input type="hidden" name="Per_Page" value="&mvte:global:Per_Page;" />
        <label for="Sort_By">Sort By:</label>
        <select name="Sort_By" onchange="this.form.submit();">
        <mvt:if expr="ISNULL g.Sort_By">
        <option value="disp_order" selected="selected">Default</option>
        <mvt:else>
        <option value="disp_order">Default</option>
        </mvt:if>
        </select>
        Holly Nelson, CEO of 2C Development Group
        www.2cdevgroup.com
        @2cdevelopment

        Comment


          #5
          Re: Sort By Feature not working

          I just opened a ticket about an issue similar. In my case, I tested the old versions of the pages before we modified them and the sort options still don't work. I used the exact code from 2 other sites where it works perfectly, still doesn't work. They're running PR8 Update 6 (5.12 engine). What is the site you're having issues on running? I don't think it's the version or engine because I can't imagine that's the only store I'm working on with those same specs, but it's possible that could be a connection. Could you check your version and engine? I'm going to have them update their engine and see if maybe that is the culprit.
          Ted Hust
          AarcMediaGroup.com

          Celebrating 13 Years of Outstanding Service & Support
          Miva Merchant Design

          Comment


            #6
            Re: Sort By Feature not working

            Holly, I think you are missing some code:
            Code:
            <div class="sorting">
                    <form method="get" action="&mvte:global:sessionurl;">
                        <input type="hidden" name="Screen" value="&mvte:global:Screen;" />
                        <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" />
                        <input type="hidden" name="Category_Code" value="&mvte:global:Category_Code;" />
                        <input type="hidden" name="Product_Code" value="&mvte:global:Product_Code;" />
                        <input type="hidden" name="Search" value="&mvte:global:Search;" /> 
                        <input type="hidden" name="Per_Page" value="&mvte:global:Per_Page;" />
                        <label for="Sort_By">Sort By:</label>
                        <select name="Sort_By" onchange="this.form.submit();">
                            <mvt:if expr="ISNULL g.Sort_By">
                                <option value="disp_order" selected="selected">Default</option>
                            <mvt:else>
                                <option value="disp_order">Default</option>
                            </mvt:if>
                            <mvt:if expr="g.Sort_By EQ 'bestsellers'">
                                <option value="bestsellers" selected="selected">Best Selling</option>
                            <mvt:else>
                                <option value="bestsellers">Best Selling</option>
                            </mvt:if>
                            <mvt:if expr="g.Sort_By EQ 'price_asc'">
                                <option value="price_asc" selected="selected">Lowest Price</option>
                            <mvt:else>
                                <option value="price_asc">Lowest Price</option>
                            </mvt:if>
                            <mvt:if expr="g.Sort_By EQ 'price_desc'">
                                <option value="price_desc" selected="selected">Highest Price</option>
                            <mvt:else>
                                <option value="price_desc">Highest Price</option>
                            </mvt:if>
                            <mvt:if expr="g.Sort_By EQ 'newest'">
                                <option value="newest" selected="selected">Newest Items</option>
                            <mvt:else>
                                <option value="newest">Newest Items</option>
                            </mvt:if>
                        </select>
                        <noscript><input type="submit" value="go"></noscript>
                    </form></div>
            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: Sort By Feature not working

              Originally posted by 2chicks View Post
              I have a latest edition Miva 5 store that we are building. The Sort By feature is not working. I have created test orders, so there are Best Sellers, etc., but it only displays Sort By: Default.

              http://twigfootwear.mivamerchant.net...oys_shoes.html

              What is up with that?
              Hello,

              On the CTGY page, Category Product List Layout Tab, right on sorting options where you turn it ON or OFF, there are 5 check boxes, and on my demo store I had 3 of the 5 checked.

              Name
              Product Code
              Best Selling -Checkeed
              Price - Checked
              Newest -Checked

              I switched your template back to point+click mode and checked those 3 options and now your category pages "sort by" drop down menu works.

              Regards
              Rafael Buelna
              Miva Support Engineer
              800.608.MIVA (24/7 Support)
              http://www.miva.com
              http://www.miva.com/support

              Comment

              Working...
              X