Shopware 6.7.14: Advanced pricing fields too narrow – free fix plugin

back

sw fix

After updating to Shopware 6.7.14, the price inputs in a product's Advanced pricing tab are suddenly only about 43 pixels wide. Instead of “7.99” you only see “7.” – gross, net, list price and lowest price are practically unreadable. The issue occurs in every browser and also affects Shopware 6.7.14.1.

The cause

Shopware 6.7.14 updated the Meteor Component Library from 4.28.6 to 5.7.0. As a result, the price components sw-price-field and sw-list-price-field lost their width rules and shrink to their minimum width. Shopware has confirmed the bug (Issue #20765) and already fixed it (Pull Request #20262). However, the fix has not been shipped in a release yet.

The solution: our free plugin

Until the official update arrives, our small plugin restores the full width of the price inputs. It only adds a few CSS rules to the administration:

  • No administration build required – ideal for production systems

  • No changes to data or the storefront

  • Compatible with Shopware 6.7

  • Can be uninstalled without leftovers once Shopware ships the fix

👉 Download the plugin for free (EcAdvancedPriceFieldFix.zip)

Installation

Option 1 – via the administration: Go to Extensions > My extensions, click “Upload extension”, select the ZIP file, then install and activate it. Afterwards, clear the cache.

Option 2 – via the console: Copy the folder to custom/plugins/ and run the following commands:

bin/console plugin:refresh
bin/console plugin:install --activate EcAdvancedPriceFieldFix
bin/console cache:clear

Then reload the administration in your browser (Ctrl+Shift+R or Cmd+Shift+R).

How does the plugin work?

The plugin extends the administration template and injects the missing width rules as an inline style into the <head>. Since it only uses Twig, the administration does not need to be recompiled:

{% sw_extends '@Administration/administration/index.html.twig' %}

{% block administration_head_scripts %}
    {{ parent() }}

    <style>
        .sw-product-detail-context-prices .product-detail-context-prices__price-field-wrapper .sw-list-price-field,
        .sw-product-detail-context-prices .product-detail-context-prices__price-field-wrapper .sw-price-field,
        .sw-product-detail-context-prices .price-field-grid {
            width: 100%;
        }
    </style>
{% endblock %}

Conclusion

A small plugin that makes a big difference in daily work: prices are easy to maintain again. As soon as Shopware releases the official fix from PR #20262, you can simply uninstall the plugin.

eazyCode Logo Do you have questions about your Shopware update or need support with your shop? We are happy to help – free of obligation and fast. Contact us and we will get back to you within 24 hours.

Termin vereinbaren

Kostenloses Erstgespräch – unverbindlich

Ihr Projekt verdient einen ehrlichen Partner.

Schildern Sie uns Ihre Anforderungen – wir melden uns innerhalb von 24 Stunden mit einer ersten Einschätzung. Kein Verkaufsgespräch, kein Kleingedrucktes.

Telefon

Mo–Fr, 9–17 Uhr. Wir sind direkt erreichbar.

+49 (0) 9072 922022 - 0
Termin vereinbaren

30 Minuten. Online. Kostenlos und unverbindlich.

Termin vereinbaren

Schreiben Sie uns – wir antworten innerhalb von 24 Stunden.