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

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

No files matched your search

@@ -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() {