Skip to content

Refactor functions that collect quotes from various fulfillment methods #6821

@sujithvn

Description

@sujithvn

The current logic in api-plugin-fulfillment/src/queries/fulfillmentMethodsWithQuotes.js and the called functions in the fulfillment-method plugins (ex. api-plugin-fulfillment-method-pickup-store/src/fulfillmentMethodsWithQuotesPickupStore.js) may need to be refactored to avoid function mutating passed in parameters.

Also, there is a possible bug in case of retrials where the rates entries may get pushed to array again creating duplicates.

Refer: review comment form Brian

Metadata

Metadata

Assignees

Labels

Fulfillment TypesAllow products to fulfilled using flexible method such as download, store pickup, ettc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions