fix(medusa): Calculated price on cart shipping options (#1878)

This commit is contained in:
Sebastian Rindom
2022-07-20 11:04:31 +02:00
committed by GitHub
parent 110c995a6a
commit 8c283ac3b0
10 changed files with 181 additions and 63 deletions

View File

@@ -24,11 +24,11 @@ class TestFulService extends FulfillmentService {
}
canCalculate() {
return false
return true
}
calculatePrice() {
throw Error("Manual Fulfillment service cannot calculatePrice")
calculatePrice(data) {
return data.price
}
createOrder() {