ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Search box on Details page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Search box on Details page

 Post Reply Post Reply
Author
Message
Polly View Drop Down
Newbie
Newbie
Avatar

Joined: 26-August-2008
Location: Spokane
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Polly Quote  Post ReplyReply Direct Link To This Post Topic: Search box on Details page
    Posted: 13-June-2012 at 11:41am
On the main page and the search results pages, the search box allows you to hit "enter" and the search string submits.  But on the product details page, you have to actually click "Go"  to get it to submit.  

We recently upgraded to 4.6, and I am pretty sure that hitting "Enter" after typing a search string worked on all the pages in 4.5.
Our web tech says it works this way on your demo cart thought, so it is working as designed on our site... But this doesn't seem intentional to me.

Try putting sock monkey into the searches on these 2 pages.

Search Results page (or any non-details page):

Product Details page:

Is this something we can modify, or that you have a fix for? 
"Enter" doesn't seem to be reserved for any other purpose on the details page.  i.e., after typing a quantity in the Buy box, you still have to click add, so Enter isn't reserved for that.
~~ R&T systems director
Back to Top
Polly View Drop Down
Newbie
Newbie
Avatar

Joined: 26-August-2008
Location: Spokane
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Polly Quote  Post ReplyReply Direct Link To This Post Posted: 13-June-2012 at 11:43am
p.s.  We have about 20,000 items, so customers frequently have to do a lot of searches and compare many items to each other, so clicking "Go" on this page rather than hitting "Enter" might seem minor ... but it adds up to a lot of extra time and clicks, and we don't want them to leave in frustration!
~~ R&T systems director
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 13-June-2012 at 1:07pm
I'm so glad you brought this up, Polly!

I was just working on rebuilding a "refugee" site and bringing it up to 4.6, and I thought I had broken this some how. Haven't had time to look into it, but it's nice to know it's a 4.6 "feature" and not a bug I've introduced.

Hopefully EI will be able to supply a quick fix for this; else I'll post something here when/if I get to it.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 13-June-2012 at 1:15pm
Hi,  That's a strange one, I'll escalate it internally.
Back to Top
Polly View Drop Down
Newbie
Newbie
Avatar

Joined: 26-August-2008
Location: Spokane
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Polly Quote  Post ReplyReply Direct Link To This Post Posted: 19-June-2012 at 3:22pm
any news?
~~ R&T systems director
Back to Top
Polly View Drop Down
Newbie
Newbie
Avatar

Joined: 26-August-2008
Location: Spokane
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Polly Quote  Post ReplyReply Direct Link To This Post Posted: 23-July-2012 at 4:05pm
Thanks, the info you sent to our webmaster fixed it!
~~ R&T systems director
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 23-July-2012 at 4:29pm
I'd love to know the solution. Haven't had time to look into it yet, but it's starting to proliferate on sites we're building on 4.6.
Back to Top
razor150 View Drop Down
Newbie
Newbie
Avatar

Joined: 29-May-2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote razor150 Quote  Post ReplyReply Direct Link To This Post Posted: 25-July-2012 at 3:45pm
This is what I received from Early Impact to get rid of that behavior.

To do so you need to remove the following code from viewPrd.asp:



<script language="javascript" type="text/javascript">
function stopRKey(evt)
{
var evt  = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) && (node.type!="textarea")) { return false; }
}
document.onkeypress = stopRKey;
</script> 




Edited by razor150 - 25-July-2012 at 3:49pm
Back to Top
whizzinpc View Drop Down
Newbie
Newbie
Avatar

Joined: 17-January-2006
Location: California
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote whizzinpc Quote  Post ReplyReply Direct Link To This Post Posted: 16-August-2012 at 7:03pm
We had the same issue. Thanks for the fix.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.