We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Say a fulfilment provider returns shipping options:
async getFulfillmentOptions(): Promise<ShippingMethodData[]> { // ... return [ ...shippingOptionsData.shipping_methods, ...returnShippingOptionsData.shipping_methods.map(method => ({ ...method, is_return: true, })), ]; }
In the return shipping, I still get all fulfilment providers in the dropdown:
I traced the issue here where you're not passing true as second argument.
true
Medusa version (including plugins): latest Node.js version: Database: Operating system: Browser (if relevant):
Returned fulfilment options from the fulfilment provider should be filtered correctly based on is_return.
is_return
The text was updated successfully, but these errors were encountered:
fix: non-return fulfilment options visible in return shipping option …
698aced
…dropdown (medusajs#6946)
No branches or pull requests
Bug report
Describe the bug
Say a fulfilment provider returns shipping options:
In the return shipping, I still get all fulfilment providers in the dropdown:
I traced the issue here where you're not passing
true
as second argument.System information
Medusa version (including plugins): latest
Node.js version:
Database:
Operating system:
Browser (if relevant):
Steps to reproduce the behavior
Expected behavior
Returned fulfilment options from the fulfilment provider should be filtered correctly based on
is_return
.Screenshots
Code snippets
Additional context
The text was updated successfully, but these errors were encountered: