3. Configuration
Last updated
Plugin settings are located at Extensions → My Extensions → Margins & Purchase Prices in Product Listing → ... → Configure.

Determines how the percentage margin in the Margin % column is calculated.
Margin (Gross Margin) (default)
(Net Price − Purchase Price) / Net Price × 100
Profit as a percentage of the selling price
Markup
(Net Price − Purchase Price) / Purchase Price × 100
Profit as a percentage of the purchase price
Example: Purchase price €60, net price €100
Gross Margin: (100 − 60) / 100 × 100 = 40%
Markup: (100 − 60) / 60 × 100 = 66.7%
The plugin stores both methods pre-computed in the database. Switching the method takes effect immediately in the product listing — no re-index required.
The thresholds control the color coding in the Margin % column.
Default: 10
Margins below this value are shown in red. Red indicates that the margin is critically low or even negative (selling below purchase price).
Default: 30
Margins between the low threshold and this value are shown in yellow.
Margins at or above this value are shown in green.
Example with default values:
Margin < 10% → Red
10% ≤ Margin < 30% → Yellow
Margin ≥ 30% → Green
Last updated