Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Search: Auto Suggest
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

standout
VP-CART New User

Canada
70 Posts

Posted - February 01 2011 :  17:32:56  Show Profile  Visit standout's Homepage  Reply with Quote
Can anyone share with me how to turn off the auto suggest feature from search.

STANDOUT Promotional Products
Port Perry, Ontario, Canada
www.standoutcanada.com

support
Administrator

4679 Posts

Posted - February 01 2011 :  19:07:23  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

In the online configuration locate xAjaxSearchEnable and set to No.

This will stop the AJAX search drop down.

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

chrisredco
VP-CART Super User

282 Posts

Posted - February 02 2011 :  12:45:16  Show Profile  Visit chrisredco's Homepage  Reply with Quote
Cam, on a similar note, is there somewhere I can add a <br> break between the results listed in the AJAX search function? The way it is now, many results get bunched up together, making it hard for the customer to tell them apart sometimes.

So what I would like would be, instead of:
A
B
C

to be:
A

B

C

Redco Audio
www.redco.com
Go to Top of Page

support
Administrator

4679 Posts

Posted - February 03 2011 :  03:36:17  Show Profile  Visit support's Homepage  Reply with Quote
Hi Chris,

BYZ actually have quite an advanced AJAX search module available that may be of interest.

I am not sure of the link however Simon may be able to help out here.


Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

chrisredco
VP-CART Super User

282 Posts

Posted - February 03 2011 :  13:09:43  Show Profile  Visit chrisredco's Homepage  Reply with Quote
Cam,

So no way to alter what is already here in VPASP? I'd rather not buy a plugin if it can somehow be formatted in the existing code.

Chris

Redco Audio
www.redco.com
Go to Top of Page

support
Administrator

4679 Posts

Posted - February 03 2011 :  19:48:01  Show Profile  Visit support's Homepage  Reply with Quote
Open shopajaxsearchlookup.asp and locate the following:

if GetConfig("XextendedPopup") = "Yes" then
mylink = "<a href=""javascript:popUpAjaxSearchLookup('"& xmysite2 &"/shopexd.asp?id="& rst(1) &"')"">"& productlist &"</a>"
else
mylink = "<a href=""shopexd.asp?id="& rst(1) &""">"& productlist &"</a>"
end if

Change to:

if GetConfig("XextendedPopup") = "Yes" then
mylink = "<a href=""javascript:popUpAjaxSearchLookup('"& xmysite2 &"/shopexd.asp?id="& rst(1) &"')"">"& productlist &"</a><br>"
else
mylink = "<a href=""shopexd.asp?id="& rst(1) &""">"& productlist &"</a><br>"
end if

Save and test.

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

chrisredco
VP-CART Super User

282 Posts

Posted - February 03 2011 :  23:16:11  Show Profile  Visit chrisredco's Homepage  Reply with Quote
Thanks a ton Cam!

Chris

Redco Audio
www.redco.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00