DivanteLtd / magento1-vsbridge

Run the Progressive Web App (PWA) on top of Magento 1.9. This is a Vue Storefront bridge for Magento 1.x. MIT License
https://vuestorefront.io
MIT License
57 stars 49 forks source link

Fix: Missing customer id in DTO #34

Closed mtarld closed 5 years ago

mtarld commented 5 years ago

customerDTO's id is assigned in the address loop. It should be outside because if customer hasn't any address, then dto doesn't contain id field and a customer cannot place order Related error in vue storefront: [Vue warn]: Error in event handler for "checkout-do-placeOrder": "TypeError: this.$store.state.user.current.id is undefined"