Created a helper file for the products views