Fixed add to cart position problem
Converted code to use DB for products