feat(shop): move linked fee configuration to product level
All checks were successful
Staging Build / build (push) Successful in 2m52s
All checks were successful
Staging Build / build (push) Successful in 2m52s
This commit is contained in:
@@ -429,6 +429,10 @@ export function OrderWizard({
|
||||
oneTime += basePrice
|
||||
}
|
||||
|
||||
if (prod.linked_fee_product_id) {
|
||||
feeProductIds.add(prod.linked_fee_product_id)
|
||||
}
|
||||
|
||||
// Module
|
||||
sel.moduleIds?.forEach((mId: string) => {
|
||||
const mod = prod.modules?.find(m => m.id === mId)
|
||||
@@ -439,10 +443,6 @@ export function OrderWizard({
|
||||
} else {
|
||||
oneTime += mod.price * qty
|
||||
}
|
||||
|
||||
if (mod.linked_fee_product_id) {
|
||||
feeProductIds.add(mod.linked_fee_product_id)
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user