How to code a Product id search engine?
0 Answer(s)      4 years and 10 months ago
Posted in : Java Beginners

I always wonder how people here are such greatly helpful.

I have about a 30 rare products in my online store(just showcasing, we don't sell) each with a specific id. I am trying to code a search box that let users search products with id.

Suppose, "If an user enters id:1234 (and hits search button) go to product page url: http://#" if user enters id:5678 go to product page url: http://##" and if user enters any other id go to url: http://###"

One more thing, is this java script turns heavy weight if my product base grows wild.

Thanks in advance.


View Answers