Welcome, Guest ( Customer Panel | Login )




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

bluesky
VP-CART Super User

304 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

Thnaks

PAUL

carfin
VP-CART 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.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

bluesky
VP-CART Super User

304 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

PAUL
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