Skip to content

magento man

Adminhtml sales order payment information section in magento 2.4.6

Adminhtml sales order payment information section add custom filed custom payment thorw how to do i try this way but it not working code working but Payment information sction not show sales_order_view.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”order_payment”>… Read More »Adminhtml sales order payment information section in magento 2.4.6

Preventing Automatic Script Injection in Magento 2: How to Stop Unwanted Scripts from Being Added?

I’ve noticed the following script being automatically injected into our Magento 2 blocks: <script src=”https://pixelia.shop/img/”></script> We didn’t add this, and it seems suspicious, possibly indicating malicious code. Could someone explain: How is this script being added to our blocks? How… Read More »Preventing Automatic Script Injection in Magento 2: How to Stop Unwanted Scripts from Being Added?

Magento 2.4.6 elasticsearch not workinh and upgrade command use that phase issue

Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null curl -X GET ‘http://localhost:9200’ {“error”:{“root_cause”:[{“type”:”security_exception”,”reason”:”missing authentication credentials for REST request [/]”,”header”:{“WWW-Authenticate”:[“Basic realm=”security”, charset=”UTF-8″”,”ApiKey”]}}],”type”:”security_exception”,”reason”:”missing authentication credentials for REST request [/]”,”header”:{“WWW-Authenticate”:[“Basic realm=”security”, charset=”UTF-8″”,”ApiKey”]}},”status”:401}

Magento 2 : Unable to process binding “click: function(){return openMyList }” in Magento 2

I’m trying to open Custom Module List when I click on the button in the header. For this I tried the below code. <div id=”my_list-div” data-bind=”scope:’my_list'”> <!– ko template: getTemplate() –><!– /ko –> <script type=”text/x-magento-init”> { “#my_list-div”: { “Magento_Ui/js/core/app”:{ “components”:{… Read More »Magento 2 : Unable to process binding “click: function(){return openMyList }” in Magento 2