attempted cart total function - still issues to work out