-
Notifications
You must be signed in to change notification settings - Fork 2.2k
01 fulfillment base #6570
New issue
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
01 fulfillment base #6570
Conversation
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
|
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
packages/api-plugin-fulfillment/src/mutations/createFulfillmentMethod.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/mutations/createFulfillmentType.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/mutations/updateFulfillmentOptionsForGroup.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/queries/getFulfillmentType.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/queries/getFulfillmentTypes.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/resolvers/Query/getFulfillmentMethods.js
Show resolved
Hide resolved
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few more comments
packages/api-plugin-fulfillment/src/mutations/createFulfillmentMethod.js
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/mutations/createFulfillmentMethod.js
Outdated
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/mutations/createFulfillmentMethod.test.js
Show resolved
Hide resolved
packages/api-plugin-fulfillment/src/resolvers/Query/getFulfillmentTypes.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
Signed-off-by: m_sushmitha <m_sushmitha@intuit.com>
Signed-off-by: apadhi <aditya_padhi@intuit.com>
Signed-off-by: apadhi <aditya_padhi@intuit.com>
Signed-off-by: apadhi <aditya_padhi@intuit.com>
Signed-off-by: apadhi <aditya_padhi@intuit.com>
Fixing typo of `nvm` in Readme Signed-off-by: Pradeep Kumar Duvvur <pradeepduvvur@gmail.com>
Signed-off-by: Jayaraman N R <jayaraman17064@cse.ssn.edu.in>
Signed-off-by: Jayaraman N R <jayaraman17064@cse.ssn.edu.in>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: tuanvu0995 <tuanvu0995@gmail.com>
Signed-off-by: tuanvu0995 <tuanvu0995@gmail.com>
Signed-off-by: tuanvu0995 <tuanvu0995@gmail.com>
Signed-off-by: tuanvu0995 <tuanvu0995@gmail.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: Brian Nguyen <vanpho02@gmail.com> Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
Signed-off-by: skodamarthi <susmitha_kodamarthi@intuit.com>
Signed-off-by: Sujith <mail.sujithvn@gmail.com>
This PR is closed and has been replaced by PR #6610 |
Signed-off-by: Sujith mail.sujithvn@gmail.com
This PR has been replaced by PR #6610
Resolves #6471
Impact: breaking
Type: feature
Issue
In the current system, the only way for order fulfillment is via shipping which is hardcoded into the system. We need to introduce the flexibility for users to add their own fulfillment types via plugins.
Solution
We are creating a base fulfillment plugin which would enable other fulfillment types (like shipping, pickup, digital) to be introduced via plugins. Each of the newly introduced fulfillment type plugin would need to have the specific fulfillment methods also to be added as separate plugins. Example, fulfillment type 'pickup' could have fulfillment methods like 'store pickup' and 'curb-side pickup'.
PR Details in order
Existing PRs based on the #6480 (to be updated to point to #6570)
We shall change the base branch of the 3 existing PRs (i18n #6545, dataMigration #6544, setDefaultFFtype #6543) to point to 01 fulfillment base
API-PLUGIN-FULFILLMENT
This is the base plugin, basic features listed below.
Mutations
Queries
Others
Breaking changes
Since this is the new way of handling fulfillment, the existing shipment plugins would not work along with this. User would need to migrate the data (migration script will be developed) and remove the shipment plugins (api-plugin-shipments and api-plugin-shipments-flat-rate).
Testing
All this is new code and at this stage this is not integrated to reaction, meaning the plugins.json is not updated to include this plugin. Hence proper testing can be carried out only after merging in the remaining PRs.