- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 15.02.23, 06:15
- Opened by: Benjamin Teo
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #24279 - PKElements - Search box drop down - load more
Hi, see attached image.
The search box works fine, when you type a search it will auto load the products, however there is a load more button, when you click it loads more inside the search box drop down.
However, I have 2000k products need to add a button that goes to the actual search page. What code can I use or link can I use for this? I can code my own button.
The search result page would be the same as pressing ENTER after typing in the search word, but people don’t know that they have to do this.
I thought this was a bug when I first used it.
Thank you.
Comments
You can change the search button action in the widget settings https://take.ms/azN9H
Hi thanks I know about this option, but I want to do the following. (see attached image)
I will create a button next to load more. I will call this “Go To Search Page” When you click this button (same as clicking on search icon) it should take you to the search results page.
But I don’t have the code do this.
Attachments:
Ok, I see.
Open the file
Add your button to the line 35 like this
Thanks I know where the file is, but how do I link that button to the keyword they typed in the search box?
You can try this way
but I’m not sure the search word will be catched because header search based on javascript
Ok thanks for that it’s not really working but that’s ok I will just leave it for now
Yes, there is some dynamic way need to be found to apply