Trying to fix checkall function in the cart