dimaportenko / magento-react-native

React Native mobile app for Magento 2.x
MIT License
297 stars 158 forks source link

Checkout button in the ProductScreen.js file #144

Closed sidneylopes closed 4 years ago

sidneylopes commented 4 years ago

I would like to add a checkout button under the cart button in the ProductScreen.js file. That way, the user would be able to buy the product directly from its screen, without passing through the cart. How would I be able to do so?

dimaportenko commented 4 years ago

hi @sid3291, I think steps should be like

  1. Wait response for add to cart request.
  2. Update cart.
  3. Navigate to the checkout screen.