Skip to content

Option to check if the item can be delivered based on location of the customer #1843

Discussion options

You must be logged in to vote

I suggest you override the addItemToOrder mutation to implement this - there's no other way to do it in such a way that you can cause the item not to be added if it fails some custom validation check.

See https://www.vendure.io/docs/plugins/plugin-examples/extending-graphql-api/#override-built-in-resolvers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ramkishore-yerubandi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants