You could use JavaScript for a search if you only wanted to search the current page, if you wanted to search your whole site at one time you would need a server side language like PHP or ASP.Net.Shopping Carts can be built in many languages: PHP, ASP, ASP.Net, JSP, ColdFusion, etc. It just depends on what you knwo and want to use.