category encoding and checkout