Skip to content

Commit

Permalink
Fix mistakes in Price Calculation section (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
zedzior authored Jan 28, 2025
1 parent 06d5efc commit 910390e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer/price-calculation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sequenceDiagram
Undiscounted price->>+Base price: apply manual line discount
Base price->>+ Untaxed price: apply order promotion
Base price->>+ Untaxed price: apply order-level voucher
Base price->>+ Untaxed price: apply manual line discount
Base price->>+ Untaxed price: apply manual order discount
Untaxed price->>+ Final price: apply taxes
```

Expand All @@ -44,7 +44,7 @@ We first apply [`line-level discounts`](developer/discounts/overview.mdx#level)

`base_line_price` = `base_unit_price` * `quantity`

`base_subtotal` = `Σ(base_line_priceS)`
`base_subtotal` = `Σ(base_line_prices)`

`base_shipping_price` = `undiscounted_shipping_price` - `shipping_voucher`

Expand Down

0 comments on commit 910390e

Please sign in to comment.