Added error logging, cart styling and ability to empty cart