Variant Price Surcharge
Description
Highlights
About the Extension
Problem: Maintaining variant prices manually?
If you sell variants with size-dependent or option-based pricing, you know the issue: every time the parent price changes, all variants need manual adjustment. This plugin solves it with a simple formula:
Variant Price = (Parent Price + Fixed Surcharge) × (Percentage / 100)
Core Features
- Percentage calculation: Variant price as a fraction of the parent price (0–1000%)
- Fixed surcharges: Add or subtract absolute EUR amounts
- Combined mode: Use both percentage AND surcharge simultaneously
- Per-variant activation: Controlled individually via custom fields
- Field-specific inheritance: Values not set on the variant are automatically inherited from the parent
- Cart & checkout: Correct prices throughout the checkout process incl. tax recalculation
- 4 rounding modes: HALF_UP, HALF_DOWN, HALF_EVEN, HALF_ODD — configurable mode and decimal places
- Multi-currency: Currency-specific parent price resolution with fallback
- NaN/INF protection: Robust validation — calculated prices never go negative
How it works
After installation, three custom fields are available at product level: Enable surcharge, Percentage, and Fixed surcharge. Simply configure them on the desired variant (or centrally on the parent product) — the price is automatically calculated in the storefront and cart.
The admin continues to show the original price to maintain performance.
Use Cases
- Size variants: S = 80%, M = 100%, L = 120%, XL = 140% of the base price
- Software licenses: 1 User = 50%, 5 Users = 100%, 10 Users = 150%
- Product options: Base product + zipper (+3 EUR) + size XL (+5 EUR)
- Volume discounts: 3-pack (-5 EUR), 5-pack (-8 EUR) via negative surcharges
- Combination: Size surcharge (120%) + option surcharge (+8 EUR) in one variant
Important Notes
The variant's own price is ignored — only the parent product price with surcharge and percentage is used. The admin intentionally shows the original price to avoid impacting admin performance.
Documentation
Comprehensive documentation with practical examples and troubleshooting is available at faq.markus-michalski.net.
Details
- Available: English, German
- Latest update: 16 June 2026
- Publication date: 17 June 2026
- Version: 1.1.2
- Category: Product Configuration
Resources
Reviews (0)
About the Extension Partner
Markus Michalski
Partner Status
-
Shopware
Extension Partner
Details
- Partner since: 2026
- Extensions: 6
Support
- Based in: Germany
- Speaks: German, English
- Response time: Very quickly