VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customize the Search
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

12 Posts

Posted - February 26 2008 :  17:53:18  Show Profile  Visit maxq's Homepage  Reply with Quote
I want to be a able to add a search category using a drop down list from one of the fields in the database (currently other1)

Does anyone know how to do this or is there a plugin or add on?


Senior Member

United Kingdom
1898 Posts

Posted - February 27 2008 :  01:36:25  Show Profile  Visit devshb's Homepage  Reply with Quote

you need to encode the value being searched on, eg if embedding it within vbscript/asp then you'd use something like:


so that's available with standard vpasp; if you want to have a drop-down list listing the values with an auto-redirect to the corresponding page then you can take the category drop-down list (in shopproductsubs.asp) as a base to copy the code from.

our search/paging addon also allows similar links (although in our addon the links point directly to shopdisplayproducts.asp instead of going via the shopquery.asp file) -

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on February 27 2008 01:50:12
Go to Top of Page

Starting Member

12 Posts

Posted - February 27 2008 :  07:57:44  Show Profile  Visit maxq's Homepage  Reply with Quote
Thanks for the reply.
I'm not sure how it works though!
On the search page we have the default fields for searches

What the client wants is to have a dropdown selection for the make of the bikes and that to work with the other search terms.

So the make is currently pother1
Will the code you highlighted do that?

Coding is not my specialty so I may sound like a noob!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000