fix(medusa): Calculated price on cart shipping options (#1878)
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user