optimize the ecommerce checkout flow