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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 Admin product search adjusting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP Super User

302 Posts

Posted - May 18 2008 :  10:38:01  Show Profile  Reply with Quote
When searching for particular proudtc in admin th efault search is to search by

Selection criteria: calalogid , equals

anybody know how i would defult this to

Selection criteria: cname ,contains

If your doing half a dozen searches a day to adjust prices etc it become labourous to do this adjustment to search settings all the time so any help appreiated on how i caould acheive my aim



VP-ASP Expert

United Kingdom
948 Posts

Posted - May 19 2008 :  05:09:43  Show Profile  Reply with Quote
Hi Paul,

The first part is controlled by the order of the fields in the products table, so unless you can change the cname field to the first field in the table then you're stuck with the current display order. (Access DBs are easy enough to rearrange but not if you're using a SQL one)

The second part is easy to change the option order. Open file shopa_editdisplay.asp and find the following lines (533 approx)

<option value="equals" <% if request.form("criteriontype99") = "equals" then response.write " selected"%>>equals</option>
<option value="contains" <% if request.form("criteriontype99") = "contains" then response.write " selected"%>>contains</option>

Just swap the 2 lines around.


Go to Top of Page

VP-ASP Super User

302 Posts

Posted - May 19 2008 :  16:50:14  Show Profile  Reply with Quote
Mny thnaks carrol , that worked like dream .

Im running SQL so shame i cant adjust the first one but now I only have one to adjust so i am 50% more productive :-)

thanks again

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000