keine preise ohne login

Beim Installieren des Plugins bekomme ich folgenden Fehler im Backend:

Shopware 5.5.8 (Rev. 201904021344) - Backend (c) shopware AG iframe { border: 0 none !important; width: 100%; height: 100%; } #nav ul { top: 26px !important } #header li.main { height: 28px !important } .deprecated { color: #fff; font-size: 11px; font-weight: 700; text-align: center } .sprite--paypal-unified { background: url(/custom/plugins/SwagPaymentPayPalUnified/Resources/views/backend/_resources/img/paypal-unified.png) no-repeat 0 0 !important; } Ext.editorLang = 'de'; Ext.shopwareRevision = '201904021344'; Ext.userLanguage = 'de'; var userName = 'admin', maxParameterLength = '0'; Ext.define('Shopware.app.Application', { extend: 'Ext.app.Application', name: 'Shopware', singleton: true, autoCreateViewport: false, requires: ['Shopware.container.Viewport'], baseComponents: { 'Shopware.container.Viewport': false, 'Shopware.apps.Index.view.Menu': false, 'Shopware.apps.Index.view.Footer': false }, viewport: null, launch: function() { var me = this, preloader = Ext.create('Shopware.component.Preloader').bindEvents(Shopware.app.Application), errorReporter = Ext.create('Shopware.global.ErrorReporter').bindEvents(Shopware.app.Application); /*** Activates the Ext.fx.Anim class globally and * drives the animations our CSS 3 if supported. */ Ext.enableFx = true; this.addEvents('baseComponentsReady', 'subAppLoaded'); // Disable currency sign Ext.apply(Ext.util.Format, { currencySign: '' }); // Fix default date format Ext.Date.defaultFormat = Ext.util.Format.dateFormat; this.callParent(arguments); this.addSubApplication({ name: "Shopware.apps.Index", controller: "SwagHidePrices", params: [], localizedName: 'Shopware', firstRunWizardEnabled: 0, sbpLogin: 0, updateWizardStarted: 1, enableInstallationFeedback: 0, enableBetaFeedback: 0, biOverviewEnabled: 0, biIsActive: 0, }); // Start preloading the icon sets me.iconPreloader = Ext.create('Shopware.component.IconPreloader', { loadPath: "https://amafino.eu/themes/Backend/ExtJs/backend/_resources/resources/css" }); }, /** * Checks if all base components are loaded and rendered. * If truthy the preloader will be triggered. * * @param cmp - Component which calls the method * @return void */ baseComponentIsReady: function(cmp) { var me = this, allReady = true; me.baseComponents[cmp.$className] = true; Ext.iterate(me.baseComponents, function(index, item) { if(!item) { allReady = false; return false; } }); if(allReady) { window.setTimeout(function() { me.fireEvent('baseComponentsReady', me); }, 1000); } } }); /** Basic loader configuration */ Ext.Loader.setConfig({ enabled: true, disableCaching: true, disableCachingParam: 'no-cache', disableCachingValue: '1559312758+1+1' }); Ext.Loader.setPath('Shopware.apps', '/backend', '?file=app'); Ext.onReady(function() { var timeField = Ext.create('Ext.form.field.Time'); this.timeFormat = timeField.format; }); 

Das geht weg, wenn du das Plugin aktivierst.

Also einfach wegklicken, aktivieren und dann die Einstellungen vornehmen. Das Plugin verwendet für die Konfiguration eine eigene Funktion und die ist halt nur da, wenn es aktiv ist. Etwas unschön, aber sollte kein Hindernis sein.

1 Like