added search and cart

added
fix

fix type