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"
customerDTO
'sid
is assigned in the address loop. It should be outside because if customer hasn't any address, then dto doesn't containid
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"