Flexibly calculate surcharges by payment method, shipping and product in Magento 2
incl. 19% VAT
-
Free installation - Compatible with Magento 2.4.4 - 2.4.9 - Compatible with Hyvä Theme + Luma-based themes
All 71 versions incl. patches
- Magento 2.4.92.4.9
- Magento 2.4.82.4.8, 2.4.8-p1, 2.4.8-p2, 2.4.8-p3, 2.4.8-p4, 2.4.8-p5
- Magento 2.4.72.4.7, 2.4.7-p1, 2.4.7-p2, 2.4.7-p3, 2.4.7-p4, 2.4.7-p5, 2.4.7-p6, 2.4.7-p7, 2.4.7-p8, 2.4.7-p9, 2.4.7-p10
- Magento 2.4.62.4.6, 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4, 2.4.6-p5, 2.4.6-p6, 2.4.6-p7, 2.4.6-p8, 2.4.6-p9, 2.4.6-p10, 2.4.6-p11, 2.4.6-p12, 2.4.6-p13, 2.4.6-p14, 2.4.6-p15
- Magento 2.4.52.4.5, 2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4, 2.4.5-p5, 2.4.5-p6, 2.4.5-p7, 2.4.5-p8, 2.4.5-p9, 2.4.5-p10, 2.4.5-p11, 2.4.5-p12, 2.4.5-p13, 2.4.5-p14, 2.4.5-p15, 2.4.5-p16, 2.4.5-p17
- Magento 2.4.42.4.4, 2.4.4-p1, 2.4.4-p2, 2.4.4-p3, 2.4.4-p4, 2.4.4-p5, 2.4.4-p6, 2.4.4-p7, 2.4.4-p8, 2.4.4-p9, 2.4.4-p10, 2.4.4-p11, 2.4.4-p12, 2.4.4-p13, 2.4.4-p14, 2.4.4-p15, 2.4.4-p16, 2.4.4-p17, 2.4.4-p18
- Product updates and Pro support plan for 12 months
- 30% off update and support renewals More infoAfter the first year, you get 30% off when you renew
- 30-day money-back guarantee
- Listed on Adobe Marketplace
Good to know
- Support in English and Germandirectly from the developer in Tornesch near Hamburg, via email or at 04122 4084792
- Invoice with VATPay by invoice, PayPal, Klarna or credit card
- No subscriptionbuy once; the software keeps running after the 12 months of updates and support
STM Surcharge — the professional Magento 2 extension for additional costs and surcharges. Calculate cutting fees, bulky goods surcharges and category-based extra costs transparently — with smart shipping logic, product notices and full control over prices and display.
Automatic calculation for category products, standard items & mixed carts
Additional costs shown directly on the product page with a customizable info notice
Costs shown automatically in the cart — including mixed orders
Manage prices, thresholds, country restrictions & design in the backend
Responsive design for desktop, tablet & smartphone
No core hacks, PSR-4 compliant, update-safe & Hyvä-compatible
Freely definable order value for free standard shipping (e.g. from 100 €)
Additional costs can be limited to specific shipping countries (e.g. DE or EU)
STM Surcharge Extension for Magento 2
The professional Magento 2 extension for additional costs — calculate cutting fees, bulky goods surcharges and
category-based extra costs transparently and automatically.
Hyvä Theme
Luma-based themes
PHP 8.1 – 8.5
Why do you need a Magento 2 surcharge extension for additional costs?
Up to 55% of abandoned purchases are caused by unexpected additional costs at checkout.
If your store sells tubes, profiles, bar stock or bulky products, cutting or bulky goods surcharges often apply. If these costs aren't shown transparently, you lose customers every day — and collect negative reviews.
STM Surcharge solves this problem: show additional costs right on the product page, calculate category-based surcharges automatically and present mixed carts transparently.
The result: fewer abandoned purchases, more trust and measurably higher conversion rates.
What are the benefits of the Magento 2 Surcharge Extension?
Smart shipping logic
Automatic distinction between category products, standard products and mixed carts — fair calculation in every scenario.
Transparent product notices
Customers see cutting and additional costs directly on the product page — with a customizable info notice and price placeholder.
Automatic cart calculation
Shipping costs are shown correctly in the cart automatically — including mixed orders with combined costs.
Full admin configuration
All prices, thresholds, country restrictions and design options are easy to configure in the backend — no code changes required.
Mobile-optimized
Responsive design for all devices. Colors, borders and fonts blend seamlessly with your store design.
Clean architecture
No core hacks, update-safe, PSR-4 compliant. Compatible with Hyvä, Luma-based themes and common extensions.
NEW
Multiple surcharge rules at once
Named, reusable rules (e.g. Cutting-Premium, Edge Polish, Engraving) — managed directly in the Catalog menu.
NEW
Per-product override + bulk assign
Dedicated attributes per product + mass action in the product grid: assign hundreds of products to a rule in one click.
⚙
How does the Magento 2 Surcharge Extension calculate additional costs automatically?
No more manual calculation: the extension automatically distinguishes between three scenarios — and always calculates shipping costs correctly, no matter what the cart contains.
- Category products only (e.g. pipes, profiles): only the individually configurable cutting or additional costs are charged
- Standard products only: regular shipping costs apply — above a freely definable threshold (e.g. 100 €), shipping automatically becomes free
- Mixed orders: combinations of category products and standard goods are shown with transparent combined costs
- Country restriction: limit additional costs to specific countries (e.g. Germany, EU)
- Fully automatic calculation — no manual price maintenance per order
💡
How are additional costs displayed transparently on the Magento 2 product page?
Every hidden cost item costs you conversions. That is why a prominent notice with its own info icon tells your customers about additional costs right on the product page — before they reach the cart.
- Dynamic notice text with price placeholder — shows the exact surcharge per product
- Dedicated info icon for instant visual recognition
- Fully customizable: colors, font sizes, spacing and borders via the admin configuration
- Notice appears only on affected products — no unnecessary information overload
- Responsive design — optimized display on desktop, tablet and smartphone
🎛
What settings does the Magento 2 additional costs extension offer in the admin?
Full control without a single line of code: all prices, rules and design options are easy to configure in the Magento System Configuration. Changes take effect immediately — no deployment needed.
- Category ID for products that should receive extra costs
- Extra cost price — set individually per configuration
- Standard shipping costs for regular products
- Threshold for free shipping (e.g. from 100 €)
- Country restriction — e.g. Germany only or the entire EU
- Design options: colors, font sizes, spacing and icon for the product notice
- Dynamic text with price placeholder for the additional costs notice
🛒
How are additional costs shown correctly in the Magento 2 cart?
Transparency all the way to checkout: the shipping logic is applied to the cart automatically. Your customers see exactly how their shipping costs are calculated, which reduces cart abandonment by up to 30%.
- Automatic calculation based on cart contents (category products, standard, mixed)
- Correct display of cutting costs as a separate line item
- Free shipping for standard products above a configured threshold
- Compatible with coupons and sale prices — no calculation conflicts
- Customers know exactly what they'll pay before checkout
📈
What are the benefits of the Surcharge extension for merchants and customers?
Transparent pricing is key to higher conversion rates. Shops that disclose additional costs openly see significantly less cart abandonment and better customer reviews.
For merchants
- Maximum flexibility — different surcharges per category
- Less cart abandonment — transparent costs mean fewer surprises
- Easy maintenance — all prices managed in the admin
- Clean mixed carts — calculated correctly, even with coupons
For customers
- Clarity & trust — no hidden costs at checkout
- Fair calculation — clear breakdown for mixed carts
- Mobile experience — optimized for all devices
- Instant information — surcharges visible right on the product
NEW IN 2.4
Advanced surcharge control — more flexible, more precise, faster
With version 2.4, STM Surcharge becomes a full multi-rule engine. Instead of a single configuration, you now manage any number of named rules, assign them via bulk action, override values per product and define fine-grained limits — all without code, all in the admin.
📋 Multi-rule engine
Multiple named surcharge rules running in parallel — e.g. Cutting-Premium, Edge Polish, Engraving Flat, Hemming Premium. Each rule has its own name, cost and calculation mode.
Managed under Catalog → STM Surcharge Rules with a listing grid, filters, sorting and mass actions (enable / disable / delete).
🎯 Bulk assign from the product grid
Assign hundreds of products to a rule in one click: select multiple products in the catalog product grid, choose the mass action “Assign STM Surcharge Rule”, pick a rule from the dropdown — done.
Select all across pagination is supported — you can assign even a thousand products to a rule in a single step.
⚡ Per-product override
Handle special cases directly on the product record: three new product attributes in the STM Surcharge Max group — activation, individual amount and rule binding.
Resolver priority per item: per-product override → rule cost → customer group → tier → section default. Predictable, transparent and covered in the documentation.
🛡 Conditions & limits
Fine-grained control of the calculated surcharge: min/max cap sets a floor and a ceiling, and free above threshold removes the surcharge entirely above a defined order value.
Plus: tier pricing (quantity tiers), customer group pricing (special B2B rates), country restriction — all retained from 2.3 and extended.
What are the technical requirements for the Magento 2 Surcharge extension?
System requirements
| Magento | 2.4.x (Open Source & Commerce) |
| PHP | 8.1, 8.2, 8.3, 8.4, 8.5 |
| Themes | Hyvä, Luma-based (Porto, Ultimo and others) |
| Installation | Composer (recommended) or ZIP |
Code quality
| Architecture | No core hacks, update-safe |
| Standards | PSR-4 compliant, PHPCS Magento2 |
| Compatibility | All common themes & extensions |
| Localization | DE & EN (i18n) |
How do you install STM Surcharge via Composer?
Once your order is complete, you will receive your personal access credentials for our Composer repository by email.
$ composer require stm/module-rohre-shipping
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento cache:flush
Which Magento 2 shops is the Surcharge extension suited for?
FAQ: Magento 2 Surcharge extension
Questions about surcharges – or need a custom Magento 2 extension?
We set up the surcharge rules together with you. If your calculation follows its own rules – tiered by weight, hazardous goods, customer agreements or ERP specifications – our Magento development team builds the Magento 2 extension that maps exactly that.







You can install this extension in two ways: via Composer (recommended) or manually from a ZIP file.
Option 1: Installation via Composer Recommended
Once your order is complete, you will receive your personal access credentials for our Composer repository by email.
1. Add the repository
composer config repositories.storetown-media composer https://packages.storetown-media.de
2. Install the extension
composer require stm/module-rohre-shipping
3. Run Magento setup
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
During the first installation, you will be asked for your credentials (username & password). They are saved automatically in your auth.json, so future updates are easy to run with composer update.
Option 2: Manual installation from a ZIP file
After you order, the extension is available for download as a complete package. It contains the extension and the required STM_License module (license validation), already placed in the app/code/ folder structure, plus an INSTALL.txt in English and German.
1. Download the ZIP file
Download the ZIP file from your account under My Account → Downloads.
2. Extract it in the Magento root directory
Extract the ZIP file in the root directory of your Magento installation (where the app and bin folders are located), or upload its contents there via FTP/SSH. This creates:
app/code/STM/SurchargeMax/
app/code/STM/License/
If STM_License is already installed via Composer (folder vendor/stm/module-license), do not copy app/code/STM/License – otherwise Magento will report the module as a duplicate.
3. Run Magento setup
bin/magento module:enable STM_License STM_SurchargeMax
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
With a manual installation, you do not get automatic updates via Composer. We therefore recommend the Composer method so you always have the latest version.
Need help?
If you have questions about the installation, contact our support team at support@storetown-media.de.
Change Log
Version 2.4.3 — 2026-11-25
Fixed- Disabling no longer deletes data. The rule table and surcharge columns in quotes, orders, invoices and credit memos are kept when the module is disabled. Previously, Magento deleted them after
module:disableon the nextsetup:upgrade. - The product form in the admin also opens without the module. The product attribute
stm_surcharge_rule_idis stored in the database as a text field; a plugin turns it into a list while the module is active. The saved rules are kept. - Partial invoices no longer repeat the surcharge. It is charged once, including tax, on the first invoice, the same way Magento handles shipping.
- Credit memos no longer repeat the surcharge. It is refunded once, including tax, with the credit memo that refunds the remainder of the invoice or order, and only up to the amount that was charged.
- A surcharge that no longer applies is no longer added to the order. If the item was removed from the cart, the invoice was previously higher than the order by the amount of the surcharge.
- The surcharge is converted to the cart currency. The costs are defined in the base currency; previously, 15.00 USD became 15.00 EUR.
- The calculation mode of a rule (per item, per order) applies to the products of that rule. Previously, only the mode in the settings was used. Per-item surcharges are added up; of the per-order surcharges, the highest is applied once.
- The free threshold uses the subtotal of the current calculation instead of the previous one.
- The configured label is shown in the totals of the cart and the default checkout. Previously, it was missing there and “Zuschnittkosten” was displayed.
- Luma: The cart no longer shows the surcharge line twice.
- Hyvä: The cart shows the surcharge between the subtotal and the grand total, in the same format as the other lines.
- The surcharge rule column in the product grid shows the assigned rule immediately, and the mass assignment page shows its title only once.
- The settings section is named STM Surcharge Max. The notes on the three product fields explain that the switch, rule and category are three separate options and which costs take precedence.
Version 2.4.1 — 2026-06-17
Fixed- Surcharge VAT is now calculated correctly. The surcharge collector previously ran (sort_order 399) before Magento's tax collector (450), which then overwrote the VAT total — the saved order was undertaxed (e.g. €21.19 instead of €24.99). The collector now runs at sort_order 460 (after tax, before grand total), so the surcharge VAT is correctly included in order tax and grand total — in quote, invoice and credit memo.
- Decoupled from IA24 One Page Checkout. The OPC-specific client-side totals correction (
checkout-surcharge.js) and the associated layout (ia24checkout_index_index.xml) have been removed. The surcharge is provided exclusively as a server-side quote total segment; the two modules no longer know about each other and work both individually and together.
- Standard Magento (Luma) checkout display. New
checkout_index_index.xmlregisters the surcharge as a KnockoutJS totals component in the checkout summary (analogous to the cart component). On Hyvä, the total segment is rendered automatically; the amount is always calculated server-side.
Version 2.4.0-License — 2026-04-27
Added- Dependency on
stm/module-license: ^1.0.etc/module.xmlincludesSTM_Licensein the sequence;composer.jsonrequires the license module. - License runtime gate in
Model/Total/Quote/Surcharge::collect(): early bail-out viaLicenseServiceInterface::isValid('stm_rohre_shipping')(the extension code remains backward compatible with existing license keys from version 2.3.0; only the display name has changed to "STM Surcharge Max"). - License notice banner in the admin: new group
license(sortOrder=5) at the top of the sectionstm_surchargemax. VirtualTypeSTM\License\Block\Adminhtml\LicenseNotice\SurchargeMaxinetc/adminhtml/di.xml. The banner is hidden when the license is valid and red when the key is missing or expired. - Extension registry entry in
etc/di.xml(stm_rohre_shipping→ nameSTM Surcharge Max, packagestm/module-surcharge-max).
- Composer name:
stm/module-rohre-shippingis retained (BC with existing customer installations + Satis WooCommerce sync map). The Marketplace version usesstoretown-media/module-surcharge-max. - Dependency:
stm/module-licenseis required. - No
LICENSE.txtin the ZIP — license terms are enforced in the STM_License workflow (activation against the Storetown license server). - No
marketplace/folder (Adobe submission materials).
Version 2.4.0 — 2026-04-26
Added- New DB table
stm_surchargemax_rule(rule_id,name,cost,calculation_mode,is_active,sort_order,created_at,updated_at). Index(is_active, sort_order)for the resolver lookups. - New product attribute
stm_surcharge_rule_id(int, scope=Store, attribute groupSTM Surcharge Max). The source classSTM\SurchargeMax\Model\Config\Source\Rulelists active rules bysort_order/name. Setup patchAddRuleAttribute. - Resolver extension in
Model/Total/Quote/Surcharge.phpandViewModel/Product/ShippingNotice.php. New priority chain per item:stm_surcharge_amount(per-product override) > rule cost > customer group > tier > section default. Rule-bound products are eligible even withoutstm_surcharge_enabledand without a category assignment. Per-request memoization of the rule lookup. - Adminhtml CRUD for rules: menu item under
Catalog → STM Surcharge Rules, dedicated route frontNamestm_surchargemax. Listing grid with filter/sort/bookmarks and mass actions Delete / Enable / Disable; edit form with validation. - Mass action in the product grid: "Assign STM Surcharge Rule". The selection is resolved via
Magento\Ui\Component\MassAction\Filter(select all across pages works), the chooser page shows the count + rule dropdown,Magento\Catalog\Model\Product\Action::updateAttributessetsstm_surcharge_rule_idin a single, index-friendly pass. - ACL resources:
STM_SurchargeMax::rules(sub-nodesrules_save,rules_delete,rules_assign). - Translations: 60 new strings in
i18n/de_DE.csvandi18n/en_US.csv.
etc/db_schema_whitelist.jsonextended with the new table.etc/di.xml: virtualTypeSTM\SurchargeMax\Model\ResourceModel\Rule\Grid\Collectionas the SearchResult data source for the listing UI component, plus mapping inMagento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory.Surcharge::collectconstructor: 6th parameterRuleCollectionFactory $ruleCollectionFactory(previously 5 after license removal).
Version 2.3.0 — 2026-04-26
Renamed- Module renamed from
STM_RohreShippingtoSTM_SurchargeMax(final Marketplace name). PHP namespaceSTM\RohreShipping\→STM\SurchargeMax\, Composer packagestm/module-rohre-shipping→storetown-media/module-surcharge-max, section IDstm_rohreshipping/*→stm_surchargemax/*, ACL resourceSTM_RohreShipping::config→STM_SurchargeMax::config. - DB columns
stm_rohre_surcharge/base_stm_rohre_surchargeand the total codestm_rohre_surchargeremain unchanged (persistence stability). - Setup patches
MigrateConfigPathsandAddProductAttributesdeclare their old class names viagetAliases()so that already applied patches do not run again. - New setup patch
RenameSectionPathidempotently migrates configuration values from the interim pathstm_rohreshipping/*(pre-rename builds) tostm_surchargemax/*.
- Backend configuration is now located under
Shop > Konfiguration > STM > Category Surcharge(previously:Sales > Shipping Methods > STM Zuschnittkosten). The settings are split into five logical groups: General, Surcharge Configuration, Tier Pricing, Customer Group Pricing, Product Page Notice — consistent with the other STM Marketplace modules. - Section ID renamed from
carriers/stmrohreshipping/*tostm_surchargemax/{group}/{field}. The XPaths inModel/Total/Quote/Surcharge.php,ViewModel/Product/ShippingNotice.phpandBlock/Checkout/SurchargeInit.phphave been updated accordingly. etc/config.xml— default values moved to the new section/group structure.
STM_Licenseintegration completely removed: Composer dependencystm/module-license, module sequence entrySTM_Licenseinmodule.xml, extension registration inetc/di.xmlas well as constructor injection and thelicenseService->isValid()call inModel/Total/Quote/Surcharge.php. The licensed variant of the module is maintained in a separate branch; this Marketplace variant is free of third-party license checks in accordance with Adobe's requirements.
- Product-level surcharge: two new product attributes (scope=Store, attribute group
STM Surcharge Maxon the product edit page): stm_surcharge_enabled(yes/no) — marks an individual product as subject to the surcharge, regardless of its category assignment. This allows surcharges on products that do not belong to any surcharge category (e.g. a single special item).stm_surcharge_amount(decimal) — overrides the per-unit surcharge for this specific product. Takes priority over customer group, tier and default price. This allows premium products to carry a higher surcharge while other products in the same category pay the default.- Eligibility logic: a cart item is subject to the surcharge if (product in surcharge category) OR (
stm_surcharge_enabled = yes). - Cost priority per item: product override > customer group price > tier price > default.
- Mode semantics with overrides:
Per item: sum of all (per-unit cost × quantity) across both buckets (override + standard).Per order: maximum of all applicable per-unit costs in the order (highest surcharge value wins — semantically "the most expensive surcharge item determines the order surcharge").Setup/Patch/Data/AddProductAttributes.php— data patch that idempotently creates the two attributes duringsetup:upgrade.- Conditions & Limits group in the admin section (sortOrder 45):
min_amount(decimal) — if the calculated surcharge would be below this amount, it is set to 0 (skip). Intent: "do not charge small amounts", not "raise to minimum".max_amount(decimal) — cap for the calculated surcharge. If the value exceeds the maximum, it is capped at max_amount.free_threshold(decimal) — the surcharge is dropped entirely once the cart subtotal (net, before tax) is ≥ threshold. The classic "free shipping from X €" pattern, applied to the surcharge.restrict_by_country(yes/no) +allowed_countries(multiselect) — the surcharge applies only if the shipping address is in one of the selected countries. Source modelMagento\Directory\Model\Config\Source\Country.- Logic in
Surcharge::collect(): country check as early-out (beforeanalyzeCart()), free threshold againstquote->getSubtotal()(the subtotal collector has already run at totals_sort=65), min/max caps at the end of the calculation, beforesetTotalAmount(). Setup/Patch/Data/MigrateConfigPaths.php— data patch that idempotently transfers existingcarriers/stmrohreshipping/*configuration values to the new paths duringsetup:upgrade(default and store scope).Setup/Uninstall.php— now removes both the new and the legacy paths fromcore_config_data.
Version 2.2.0 — 2026-03-09
Added- STM License integration — license check via
stm/module-licensemodule di.xml— extension registration withSTM\License\Model\ExtensionRegistry(key:stm_rohre_shipping)
composer.json— dependencystm/module-license: ^1.0addedmodule.xml—STM_Licenseadded to module sequence
Version 2.1.0 — 2026-03-07
Added- Cutting cost display in the admin order view (between shipping and tax)
- Cutting cost display in the admin invoice view and credit memo view
- Cutting cost display when creating new invoices and credit memos
- Adminhtml block
Block\Adminhtml\Sales\Totals\SurchargewithinitTotals() - Layout XMLs:
sales_order_view,sales_order_invoice_view,sales_order_invoice_new,sales_order_creditmemo_view,sales_order_creditmemo_new - Declarative DB schema (
db_schema.xml) — columnsstm_rohre_surchargeandbase_stm_rohre_surchargeonquote,sales_order,sales_invoice,sales_creditmemo db_schema_whitelist.jsonfor Magento 2.4+ compatibility- Fieldset mapping (
fieldset.xml) for automatic data transfer quote→order (sales_convert_quote) and order→invoice/credit memo (sales_convert_order) - Observer
AddSurchargeToOrderon eventsales_model_service_quote_submit_beforeas a safety net for the quote→order data transfer Model\Total\Invoice\Surcharge— reads surcharge from the order, adds it to the invoice grand totalModel\Total\Creditmemo\Surcharge— reads surcharge from the order, adds it to the credit memo grand total- Registration in
sales.xml(sectionsorder_invoiceandorder_creditmemo, sort_order 399) - Cutting costs in the order confirmation email (
sales_email_order_items.xml) - Cutting costs in the invoice email (
sales_email_order_invoice_items.xml) - Cutting costs in the credit memo email (
sales_email_order_creditmemo_items.xml) - Cutting costs in "My Orders" → order details (
sales_order_view.xml) - Hyvä cart totals: Alpine.js template with
x-for/x-iffortotal_segments(php-cart/totals/surcharge.phtml) - IA24 OnePageCheckout: SurchargeInit block provides JSON data for client-side calculation
- Client-side recalculation when the shipping method changes (
checkout-surcharge.jswith MutationObserver) - Cart surcharge DOM injection as fallback (
cart-surcharge.js) SurchargeInit.phpforcessetTotalsCollectedFlag(false)beforecollectTotals()- Tax on cutting costs is automatically added to the tax total (same VAT rate as the first taxable product in the cart)
- 43 unit tests, 53 assertions — 100% passed
- PHPCS Magento2 standard: 0 errors, 0 warnings
setup:di:compilesuccessful- Test coverage: quote total collector, observer, ViewModel, config source models
Model\Total\Quote\Surcharge::collect()now also sets the surcharge on$quote->setData()(in addition to$total->setTotalAmount()) for persistence and fieldset mappingetc/sales.xmlextended with invoice and credit memo sectionsetc/config.xmltotals_sort changed to 65
Version 2.0.0 — 2025-11-15
Added- Surcharge calculation: per order (once) or per item (quantity × surcharge)
- Threshold scope: non-surcharge products only or entire cart
- Tier prices: quantity-based surcharge tiers with dynamic admin table
- Customer group prices: individual costs per customer group with configurable surcharge, standard shipping and free shipping threshold
- Complete
system.xmlwith validation on all fields - German labels and help comments for every configuration field
- Dynamic admin tables for tier prices and customer group prices
CustomerGroupColumnwith automatic group selection from Magento- Configurable notice box with custom colors (background, border, text)
- Placeholders
{{label}}and{{cost}}for dynamic notice text - Custom notice text configurable in the admin
- ViewModel
Product\ShippingNotice(replaces deprecated registry block) - Hyvä-compatible template (
shipping_notice_hyva.phtml) - PHPUnit unit tests for all core components
Setup\Uninstallinterface for clean uninstallation (removes config data)di.xmlwith CustomerSession proxy (avoids session initialization in the constructor)- ACL resource
STM_SurchargeMax::configfor admin permissions - Composer installation via
storetown-media/module-surcharge-max - Multilingual support:
de_DE.csvanden_US.csvtranslations
- Carrier model completely refactored:
declare(strict_types=1), typed properties - Multiple category IDs configurable as a comma-separated list (instead of only one)
- Surcharge label configurable (no longer hardcoded as "Zuschnittkosten")
- Free shipping threshold refers to non-surcharge products by default
- Country restriction uses Magento configuration (
specificcountry) instead of hardcoded 'DE' - Templates:
escapeHtml(), ARIA attributes, CSS classes instead of inline styles
- Observer with
echooutput (AddShippingNotice.php) - Deprecated registry block (
Block/Product/ShippingNotice.php) - Hardcoded country restriction to 'DE'
- Unnecessary files:
registration.xml,events.txt,.html, cart template override
- Typo "Zuschitt" → "Zuschnitt" in all texts and translations
- Observer folder PSR-4 violation (
observer/→Observer/) system.xmlinvalid root tag- PHPCS: all lines ≤ 120 characters (multi-line breaks in XML)
Version 1.0.0 — 2024-06-01
Features- Category-based shipping surcharge for configurable product categories
- Standard shipping costs (flat rate) for all products not subject to a surcharge
- Free shipping above a configurable threshold
- Product page notice for surcharge products
- Country restriction (hardcoded to Germany)
Frequently Asked Questions
Which Magento versions are supported?
Our extensions are compatible with Magento 2.4.x (Open Source & Adobe Commerce). You will find the exact version requirements in each product description.
Is the extension compatible with the Hyvä theme?
Yes, all of our extensions are fully compatible with the Hyvä theme. The required frontend components are already included.
Do I get automatic updates?
Yes – if you installed the extension via Composer, you can get updates easily with composer update. With a manual ZIP installation, you need to download and install new versions yourself.
What happens to my access credentials after I order?
You receive your personal Composer credentials automatically by email. They are tied to your order and give you access to our private Composer repository.
Can I use the extension on multiple stores?
Each license is valid for one Magento installation. To use the extension on multiple stores, you need additional licenses. Contact us for volume discounts.
Where can I get support?
Email us at support@storetown-media.de. We usually reply within 24 hours.
Custom Development
Need additional features or want this extension adapted to your specific requirements? As an agency, we offer custom development tailored to your needs.
Our services include:
- Feature extensions & custom functionality
- Integration with existing workflows & third-party systems
- Customization to match your corporate design & theme
- Performance optimization & code reviews
- Dedicated support & maintenance contracts
Interested? Send us a brief description of your requirements and we'll prepare a free, no-obligation quote.
Email: moin@storetown-media.de
Web: storetown-media.de
6 reviews for Magento 2 Surcharge Extension – STM Surcharge Max
Supported Magento versions
STM Surcharge Max runs on Magento Open Source (Community), Adobe Commerce (Enterprise) and Adobe Commerce Cloud from 2.4.4 to 2.4.9, including security patches – 71 versions in total.
- Magento 2.4.9Base version2.4.9
- Magento 2.4.85 patches2.4.82.4.8-p12.4.8-p22.4.8-p32.4.8-p42.4.8-p5
- Magento 2.4.710 patches2.4.72.4.7-p12.4.7-p22.4.7-p32.4.7-p42.4.7-p52.4.7-p62.4.7-p72.4.7-p82.4.7-p92.4.7-p10
- Magento 2.4.615 patches2.4.62.4.6-p12.4.6-p22.4.6-p32.4.6-p42.4.6-p52.4.6-p62.4.6-p72.4.6-p82.4.6-p92.4.6-p102.4.6-p112.4.6-p122.4.6-p132.4.6-p142.4.6-p15
- Magento 2.4.517 patches2.4.52.4.5-p12.4.5-p22.4.5-p32.4.5-p42.4.5-p52.4.5-p62.4.5-p72.4.5-p82.4.5-p92.4.5-p102.4.5-p112.4.5-p122.4.5-p132.4.5-p142.4.5-p152.4.5-p162.4.5-p17
- Magento 2.4.418 patches2.4.42.4.4-p12.4.4-p22.4.4-p32.4.4-p42.4.4-p52.4.4-p62.4.4-p72.4.4-p82.4.4-p92.4.4-p102.4.4-p112.4.4-p122.4.4-p132.4.4-p142.4.4-p152.4.4-p162.4.4-p172.4.4-p18
Versions according to Adobe's release overview, May 2026. We add new patches to the list once they are released.
Questions about purchase, license and support
What is STM Surcharge Max and what is it used for?
STM Surcharge Max is a professional digital product in the "Magento Extensions" category, developed and sold by Storetown Media in Hamburg. STM Surcharge is the professional Magento 2 extension for additional costs and surcharges. Calculate cutting fees, bulky goods surcharges and category-based extra costs transparently, with smart shipping logic, product notices and full control over pricing and display. The product is designed for developers, agencies and merchants who need a reliable, professionally maintained solution.
How much does STM Surcharge Max cost? Which editions and license models are available?
STM Surcharge Max starts at 149,00 € including VAT. You can choose from 3 editions: Community (149,00 €), Enterprise (298,00 €) and Magento Cloud (298,00 €). Each edition comes with different features and support levels, so you can pick the right solution for your budget and requirements. The purchase price includes 12 months of free product updates and professional technical support. After the first year, you can optionally renew support and updates at 30 % off the original purchase price. The license itself does not expire: you can keep using the product indefinitely, even without an active renewal.
How do download and installation of STM Surcharge Max work?
You can download STM Surcharge Max immediately after completing your purchase. You automatically receive a confirmation email with a direct download link. The file is also permanently available in your customer account under "My Downloads". You will find the installation guide in the "Installation" tab on this page. If you have questions about setup, our technical support team is happy to help, in German, directly from Hamburg.
What technical support and updates are included with STM Surcharge Max?
Every purchase of STM Surcharge Max includes 12 months of professional technical support in German as well as all product updates. Specifically, the purchase price includes: free installation; compatibility with Magento 2.4.4 - 2.4.9, Hyvä Theme and Luma-based themes; product updates and Pro support plan for 12 months; 30% off update and support renewals; 30-day money-back guarantee; listed on Adobe Marketplace. Our development team, with more than 14 years of e-commerce experience, is available to you by email. After the first year, you can extend the support period at 30 % off. Regular security and compatibility updates keep STM Surcharge Max reliable and up to date.
Is there a free demo or trial version of STM Surcharge Max?
Yes, Storetown Media offers a free live demo of STM Surcharge Max that you can try right away without registering. The frontend demo shows the full functionality from the perspective of your customers and visitors, including all UI elements, animations and responsive behavior on different devices. The backend demo gives you access to the admin panel so you can explore all settings, configuration options and the dashboard in detail. You will find the demo links on this page directly below the product gallery.
Which versions and systems is STM Surcharge Max compatible with?
STM Surcharge Max supports the following environments: free installation - compatible with Magento 2.4.4 - 2.4.9 - compatible with the Hyvä theme and Luma-based themes. Our development team thoroughly tests every update for compatibility with the latest stable versions before release. If you have questions about compatibility with your specific server configuration or theme setup, we're happy to help in advance – just contact our support team before you buy.
Which payment methods does Storetown Media accept? Is payment secure?
In the Storetown Media shop, you can pay with PayPal, credit card, Apple Pay, Google Pay, Amazon Pay, Klarna, bank transfer in advance or on invoice, among other options. The payment methods available in your country are shown at checkout. All transactions are protected by SSL encryption. Sensitive payment data is not stored on our servers and is processed exclusively by PCI DSS-certified payment service providers.
Does Storetown Media offer a money-back guarantee for STM Surcharge Max?
Yes, STM Surcharge Max comes with a 30-day money-back guarantee, no questions asked. If the product doesn't meet your expectations, we'll refund the full purchase price. Just email our support team within 30 days of your purchase date. The refund is issued to your original payment method within 5 business days. We stand behind the quality of our products and want you to buy without risk.
What do customers say about STM Surcharge Max?
STM Surcharge Max has an average rating of 4.8 out of 5 stars from 6 verified reviews. All reviews come from verified buyers. You can read the individual reviews in the Reviews tab further up this page.
Who is behind STM Surcharge Max? Who is Storetown Media?
STM Surcharge Max is developed and sold by Storetown Media, a specialized e-commerce service provider based in Hamburg (Tornesch). The company has more than 14 years of experience developing professional store solutions based on Magento, Adobe Commerce and WooCommerce. All products are designed, built and maintained in-house by experienced, certified developers – no third-party software. You can find more information at storetown-media.de.
What other Magento extensions does Storetown Media offer?
STM Surcharge Max is part of the "Magento Extensions" category in the Storetown Media shop, which includes a total of 12 professional products. All products in this category are maintained by the same development team and are designed to work together. Explore our full portfolio of e-commerce solutions that make your online store more powerful, more secure and more profitable.
Can I use STM Surcharge Max in multiple projects or stores?
The standard license for STM Surcharge Max covers use in a single project or production environment. For use across multiple stores or client projects, we offer agency licenses and volume discounts. Contact our sales team for a custom quote. Development and staging environments are included free of charge with every license.
















{% endif %}
{% if title and title != "" %}
{{ title }}
{% endif %}
{% if excerpt and excerpt != "" %}
Henning Carstensen (verified owner) –
We run an online store for steel tubes and metal profiles here in the region, and for years we had the problem that customers were surprised by cutting costs at checkout. The abandonment rate was alarmingly high, at times over 60% in the final step. Since we started using STM Surcharge, that has changed completely. The additional costs are now shown transparently right on the product page, so customers know from the start what to expect. The result after three months: checkout abandonment dropped by 34%, and our customer reviews have improved significantly. I especially like the smart shipping logic for mixed orders. When a customer orders tubes along with regular accessories, everything is calculated correctly and automatically. The admin configuration is really well thought out: all prices, thresholds and even the design of the notice can be adjusted without code changes. Hyvä compatibility was also a deciding factor for us. Highly recommended for any merchant whose shipping costs need explaining!
Birte Thomsen (verified owner) –
Finally, an extension that makes additional costs transparent. If you want to optimize your checkout, this is the place to start. Runs flawlessly on Magento 2.4.7 with Hyvä. Excellent! 👍
Jörn-Uwe Petersen (verified owner) –
We installed the extension two weeks ago and are happy with it so far. The Composer installation was straightforward, and the code is cleanly structured. I do have one question, though: is it possible to define different cutting prices per category? For us, cutting stainless steel tubes costs considerably more than basic steel profiles. If that's configurable, it would be perfect for our use case.
Maike Lüdemann (verified owner) –
As the operator of a B2B store for plumbing supplies, clearly displaying bulky goods surcharges was always a pain point for us. Large bathtubs, heavy radiators: shipping costs vary enormously. With STM Surcharge, we finally have a clean solution. What really convinced me is the country restriction. We mainly ship to Germany and Austria, and the surcharges only apply to certain regions. Before, that was almost impossible to handle manually. The mixed cart calculation also works flawlessly: when a customer orders a radiator and small parts, the shipping costs are split correctly. By the way, if you're interested in the integration of complex shipping methods in general, Storetown Media has an excellent overview. The 30-day money-back guarantee made the decision easy for us, though in the end we didn't need it at all.
Hauke Brodersen (verified owner) –
Does exactly what it's supposed to. No gimmicks, just clean additional cost calculation. Perfect for our lumber business.
Silke Andresen (verified owner) –
I have to be honest: I was skeptical at first. 79 euros for a shipping extension? But after installing it, I was convinced right away. The product notices look professional, the backend configuration is intuitive, and, most importantly, our customers no longer complain about “hidden costs.” If you want to know why abandoned purchases are so expensive, I recommend the article on checkout abandonment. Our conversion rate has gone up measurably!