created a function for checkout totals in the shopping cart page but it is still not functional