I need help with the check out exercise

I have used the code given by other users but it won’t work for me