Skip to content

backend

Auto Added by WPeMatico

Backend css and jss issue

Css and js are returning with 404 Refused to apply style from ‘https://domainnaime.com/pub/static/adminhtml/Magento/backend/en_US/jquery/uppy/dist/uppy-custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. I have checked all the htacess for each folders… Read More »Backend css and jss issue

Magento 2.4.5: Why is my custom tab not showing in the backend without fields?

I am using Magento 2.4.5 and I am trying to create a store configuration. The following code works fine, and the tab appears in the backend: <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Config:etc/system_file.xsd”> <system> <tab id=”mageplaza” translate=”label” sortOrder=”200″> <label>Mageplaza</label> </tab> <section id=”helloworld”… Read More »Magento 2.4.5: Why is my custom tab not showing in the backend without fields?

how to get the getdata js data in the backend like observer in magneto 2

define([“Magento_Checkout/js/view/payment/default”, “jquery”], function (Component,$) { “use strict”; return Component.extend({ defaults: { template: “Test_Payments/payment/testpay”, }, getData: function () { return { method: this.item.method, additional_data: { iban: $.trim($(‘#data1’).val()), bic: $.trim($(‘#data2’).val()) } }; } }); });