Check if module favoriteproducts is installed.

Fix Bug when favoriteproducts is not install.