Fixed add to cart and added checkout

Fixes add to cart button click and clicks checkout button.