Announcement

Collapse
No announcement yet.

Levels ReadyTheme Search box

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

    Levels ReadyTheme Search box

    Is anyone having issues with the searchbox on the Levels ReadyTheme not returning any results? If I enter something into the searchbox field, it takes me to the SRCH page with no results. If I use the searchbox that is displayed on the SRCH page, it pulls in results.
    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
    The search box works as intended for me. Only thing I'd like to do is have more control over the results. Might need to augment it with Emporium's power search...
    Dylan Buchfink
    The Mattress & Sleep Company
    http://www.tmasc.ca/

    Comment


      #3
      I think I may have some sort of javascript conflict that I will need to ferret out. The search box works great on one site I'm tweaking (the js-autocomplete-results autocomplete-results fills in nicely), but on the other it's "dead". That could be why it's going straight to the SRCH page.
      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
        Did you check of items assigned on the SRCH page only which are not assigned on other page? Check also the head tag section for differences. Just another wild guess by me.
        Andreas Toman
        PCINET, LLC

        Miva Merchant Design, Development, Integration & Support
        We built over 200 Miva Merchant stores!
        Miva shopping cart design & integration service and see our Portfolio!


        e-mail: [email protected]
        web: www.pcinet.com
        LinkedIn: Andreas Toman
        phone: (786) 250-2056 (Miami, FL)

        Comment


          #5
          Search box is in the Global Header and does not work on the SRCH page. The (second) search box that is displayed on the SRCH page is the only functioning search box. It has no javascript function. I thought maybe the scripts.js might be corrupt so I tried a fresh copy of 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


            #6
            ok, wrong guess :( At least I tried! BTW I took a closer look and the autocomplete is using the vendor minified JavaScript file. Try using firebug > Console and check what is happening when typing. watch for errors!
            Andreas Toman
            PCINET, LLC

            Miva Merchant Design, Development, Integration & Support
            We built over 200 Miva Merchant stores!
            Miva shopping cart design & integration service and see our Portfolio!


            e-mail: [email protected]
            web: www.pcinet.com
            LinkedIn: Andreas Toman
            phone: (786) 250-2056 (Miami, FL)

            Comment


              #7
              Originally posted by koala View Post
              The search box works as intended for me. Only thing I'd like to do is have more control over the results. Might need to augment it with Emporium's power search...
              Can you please post an update if you do?
              Thank you, Bill Davis

              Comment


                #8
                Well, I'm starting my journey on attempting to get Power Search to work. So far, I have Power Search working properly on the SRCH page, but I do not have it working with the auto complete search bar.

                If and when I'm successful in getting it to work as expected then obviously I'll go back in and try to clean up the search page and search results to mirror this readytheme for look and feel.

                http://dev.tmasc.ca/product-search.html

                You can see the discrepancy by searching for "team 7" on the search page it's self, versus the auto complete above. The first 5 results are different, telling me I have to figure out how the heck the search bar works :-)
                Dylan Buchfink
                The Mattress & Sleep Company
                http://www.tmasc.ca/

                Comment


                  #9
                  If anyone else is attempting to try this, I've found a few "hints" my process of getting this to work. I now have convinced the autocomplete to at least return the "correct" product results.

                  Basically, you'll need to edit the API page under User Interface.

                  Find all instances of "ac:products" and replace with "search_results:products" - you can do the same with categories (I think), but I haven't gotten this part working yet.

                  Also, you'll notice the number of search results it displays in the autocomplete is now a whole bunch more. Still investigating on this.

                  edit - not quite successful, actually. It's just taking 10 powersearch results and popping them into the autocomplete ahead of the 5 built in miva results.
                  Last edited by koala; 03-06-16, 02:33 PM.
                  Dylan Buchfink
                  The Mattress & Sleep Company
                  http://www.tmasc.ca/

                  Comment


                    #10
                    Oh super important, also make sure you assign powersrch to the API page under the items tab.
                    Dylan Buchfink
                    The Mattress & Sleep Company
                    http://www.tmasc.ca/

                    Comment


                      #11
                      In the API file, there are four lines of code that need to be removed if you don't want the built-in Miva search to return results in the autocomplete:

                      Code:
                      <mvt:assign name="g.Offset" value="0" />
                      <mvt:assign name="g.Max" value="5" />
                      <mvt:assign name="g.Sort" value="'name_asc'" />
                      <mvt:do file="g.Module_Library_DB" name="l.return" value="Runtime_ProductList_Load_Offset_Search_Sort (g.Search, g.Offset, g.Max, g.Sort, g.NextOffset, l.settings:products)" />
                      I'm assuming it'll be the same for categories, but I haven't had any luck getting the Power Search category feature to work yet.
                      Last edited by koala; 03-06-16, 07:40 PM.
                      Dylan Buchfink
                      The Mattress & Sleep Company
                      http://www.tmasc.ca/

                      Comment


                        #12
                        I had the same problem as leslie and changed this

                        <form class="bg-white" data-hook="global-search-drawer" method="get" action="&mvte:urls:SRCH:rr;">

                        from get to post and mine seems to work now.

                        Comment


                          #13
                          I was having an issue with the global search that when I would type in a search term and click on the "Search Store for SearchTerm" that it would give me an error page (Requested Item Not Available - We're sorry but it appears that the "SRCH?SEARCH=SearchTerm" page is not available at this time.)

                          It was going to
                          Code:
                          merchant.mvc?Screen=SRCH?Search=
                          and not
                          Code:
                          merchant.mvc?Screen=SRCH&
                          -- after SRCH it needs to be a "&" and not "?" and corrected this by going to the API page (thanks koala) and changing the line
                          Code:
                          <a href="&mvte:urls:SRCH:auto;?Search=&mvte:global:Search;">
                          to
                          Code:
                          <a href="&mvte:urls:SRCH:auto;&Search=&mvte:global:Search;">
                          Hoping the above helps others :)

                          Now how do I get it so that if a person visiting the site types in a search term and if either presses enter or clicks the search icon that the search form will work as now it is just taking me to the storefront..looking more into it now but think I need to take a break. Thanks!

                          Edit due to my question above ^^^
                          I changed the "get" to "post" within the global header for the search coding and BOOM fixed. (Thanks BkraM)
                          Last edited by Mish; 05-01-16, 11:05 AM.

                          Comment


                            #14
                            I am getting the results to display for the products using power search. However I am not getting the proper URIs. It is giving me long URLs. Any ideas on how you conquered this?

                            Thanks!
                            Calvin Nelson
                            Director of Web Development
                            2C Development Group

                            Comment


                              #15
                              Originally posted by cnelson View Post
                              I am getting the results to display for the products using power search. However I am not getting the proper URIs. It is giving me long URLs. Any ideas on how you conquered this?

                              Thanks!
                              I have the same issue. I can't figure out how to get the URI system to play nicely with Power Search.

                              Apparently Miva's built-in search function is getting a huge overhaul this summer, so this might just be a short term issue before Power Search can finally be retired.
                              Dylan Buchfink
                              The Mattress & Sleep Company
                              http://www.tmasc.ca/

                              Comment

                              Working...
                              X