Making cart show "No Items Available - Search again"

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

I was wondering if anyone has been able to get s-mart to give the user a message if no items are found when they type in a keyword that is not found in the database.

Ex: I someone types in the word TABLE and there is nothing with the word TABLE in it s-mart currently only shows the header & footer file and the user is left to guess that they need to click search and try again.

I would like it so that if someone types in the word TABLE (or whatever word)and it is not found there is a message that comes up saying "Sorry, try again using different keywords" or something similar.

Has anyone else been able to do this & make it work?

Thanks for any help!

-Brad bppilot@aol.com

-- Brad (bppilot@aol.com), April 07, 1998

Answers

Read my other message on this message board... Since I had no responses I went ahead & wrote the code myself to do this....

-Brad

-- Brad (bppilot@aol.com), April 24, 1998.


Moderation questions? read the FAQ