Advance Search Customization Help

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
mayaco
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Wed Sep 02, 2009 9:08 am

Advance Search Customization Help

Post by mayaco » Fri Jun 04, 2010 4:56 pm

Hello everyone,

Can anyone direct me to resources that can help me implement additional search criteria on the Advance Search page. The goal is to allow a visitor to search by weight range (low/high textboxes) and dimensions (length x width x height, with each dimension as a textbox).

Thanks,
Albert

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: Advance Search Customization Help

Post by s_ismail » Mon Jun 07, 2010 8:42 am

Yes you can do it by writing a custom query like this one
e-g

Code: Select all

ProductCollection products=ProductDataSoruce.LoadForCriteria(String.Format("weight={0}",WeightTextBox.Text)
ProductList.DataSoruce=products;
ProductList.DataBind();

Post Reply