You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From looking at the 1.x repo, the canCalculate method is called withing the packages > medusa > src > services > shipping-options.ts And this gets called from validatePriceType_ which gets called from validateAndMutatePrice, etc. None of these seem to exist anymore in the v2 repo. Obviously there was a refactor, and I believe these were not added back in after the refactor.
The text was updated successfully, but these errors were encountered:
You are right, we haven't added backend support for calculated prices on shipping options yet. This is something we will look into in the coming days or right after the official release :)
assuming this will be post 2.0 release? Is there any indication in the docs what other features like this may not yet be fully developed. The 2.0 docs lead me to believe that a fulfillment service would be functional if I developed it correctly and added it to the configuration. Just want to know what else is lacking in the official 2.0 release.
Bug report
Describe the bug
The
shipping-options
service seems to be missingSystem information
Medusa version (including plugins):
Node.js version: 20
Database: postgres
Operating system: linux host with docker containers running node/postgres/redis/etc.
Browser (if relevant): Chrome/NA
Steps to reproduce the behavior
AbstractFulfillmentProviderService
with thecanCalculate
and other methods.medusa-config.js
to use the custom fulfillment provider service.Expected behavior
The custom fulfullment
canCalculate
should be called when listing shipping options for a calculated options.Screenshots
See Discussion linked below
Code snippets
#9495
Additional context
From looking at the 1.x repo, the
canCalculate
method is called withing thepackages > medusa > src > services > shipping-options.ts
And this gets called fromvalidatePriceType_
which gets called fromvalidateAndMutatePrice
, etc. None of these seem to exist anymore in the v2 repo. Obviously there was a refactor, and I believe these were not added back in after the refactor.The text was updated successfully, but these errors were encountered: