adding purchase part in the checkout