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.
Announcement
Collapse
No announcement yet.
Levels ReadyTheme Search box
Collapse
X
-
Levels ReadyTheme Search box
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
Tags: None
-
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
-
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
-
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
-
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
-
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 :-)
Comment
-
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.
Comment
-
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)" />
Last edited by koala; 03-06-16, 07:40 PM.
Comment
-
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 toCode:merchant.mvc?Screen=SRCH?Search=
Code:merchant.mvc?Screen=SRCH&
Code:<a href="&mvte:urls:SRCH:auto;?Search=&mvte:global:Search;">
Code:<a href="&mvte:urls:SRCH:auto;&Search=&mvte:global:Search;">
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.
- 1 like
Comment
-
Originally posted by cnelson View PostI 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!
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.
Comment
Comment