3. Configuration

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

Plugin configuration page

Calculation Method

Percentage Calculation Method

Determines how the percentage margin in the Margin % column is calculated.

Option
Formula
Description

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%


Margin Thresholds

The thresholds control the color coding in the Margin % column.

Low Margin Threshold (%)

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).

Medium Margin Threshold (%)

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