close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Some Ecommerce/product search advice needed

Thread began 4/14/2014 1:06 pm by Jamie | Last modified 4/14/2014 2:40 pm by Jason Byrnes | 271 views | 3 replies |


Some Ecommerce/product search advice needed

Hey Jason

I am working on an Ecommerce site for a client that doesn't really conform to a category based structure as the products a incredibly varied/eclectic.

As such, I am thinking that the best/easiest way to deliver their requirements is to have a shopping page which lists products by most recent.

What I was thinking, to allow visitors some sort of search facility, is to give my client a <textarea> In each product entry where they add keywords associated with that particular product which will then display that product should any or any combination of keywords match that products.

Would I be right in saying that if I were to do it this way, would a partial 'hit' keyword return that product or would it need all keywords in that <textarea> to display that product?

Is there a better way to achieve this with the WA tools and my knowledge?

Cheers in advance


Sign in to reply to this post

Jason ByrnesWebAssist

Use Data Assist search for this to set up a keyword search criteria to search the keyword column

when you set up a keyword search in Data Assist search, by default it will set the keyword or to use a space, and the keyword and to use a comma. it will also set the start and end encapsulation to use quotes

this would me searching for:
foo bar

would create a search of the keyword column as:
WHERE keyword INCLUDES '%foo%' OR keyword INCLUDES '%bar%'

a search for:
foo, bar

would create a search of the keyword column as:
WHERE keyword INCLUDES '%foo%' AND keyword INCLUDES '%bar%'

or a search for:
"foo bar"

would create a search of the keyword column as:
WHERE keyword INCLUDES '%foo bar%'

Sign in to reply to this post


That's great. Thanks Jason

Should the client add the keywords to the <textarea> in a specific way (eg separated by a comma or space or something)?

Is using a <textarea> the 'best' way to do the data entry or is there a better way?

Sign in to reply to this post

Jason ByrnesWebAssist

I assume your asking about inserting the keywords.

use a space to separate them.

a text area is fine.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...