Skip to content

xml

Auto Added by WPeMatico

Problem when modifying inherited theme

/home/pedromontesi/Documentos/magento/src/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml <?xml version=”1.0″?> <body> <referenceContainer name=”header.panel”> <block class=”MagentoFrameworkViewElementHtmlLinks” name=”header.links” template=”Magento_Theme::html/promo.phtml” before=”-“/> </referenceContainer> <referenceBlock name=”logo”> <arguments> <argument name=”logo_file” xsi:type=”string”>images/my_logo.png</argument> <argument name=”logo_width” xsi:type=”number”>300</argument> <argument name=”logo_height” xsi:type=”number”>300</argument> <argument name=”logo_alt” xsi:type=”string”>Logo name</argument> </arguments> </referenceBlock> </body> /home/pedromontesi/Documentos/magento/src/app/design/frontend/Avanti/innovation/Magento_Theme/templates/html/promo.phtml <div class=”promo-bar”> Ganhe R$10,00 de desconto no seu… Read More »Problem when modifying inherited theme

XML Error: “Element ‘publisher’, attribute ‘queue’: The attribute ‘queue’ is not allowed. ” in Module magento/module-negotiable-quote

I started to have this error when logging into the Magento storefront (url= /customer/account/loginPost/referer/): 1 exception(s): Exception #0 (MagentoFrameworkExceptionLocalizedException): The XML in file “/var/www/html/vendor/magento/module-negotiable-quote/etc/queue_publisher.xml” is invalid: Element ‘publisher’, attribute ‘queue’: The attribute ‘queue’ is not allowed. Line: 20 The xml… Read More »XML Error: “Element ‘publisher’, attribute ‘queue’: The attribute ‘queue’ is not allowed. ” in Module magento/module-negotiable-quote

ModSecurity: XML parser error: XML: Failed parsing document

I am trying to add a product on Magento ver. 1.9.2.4. using SOAP API: https://www.domainname.com/index.php/api/v2_soap/ using the following XML: <soap:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”> <soap:Body> <catalogProductCreate xmlns=”urn:Magento”> <sessionId xsi:type=”xsd:string”>sessioidhere</sessionId> <type xsi:type=”xsd:string”>simple</type> <set xsi:type=”xsd:int”>4</set> <sku xsi:type=”xsd:string”>skuhere</sku> <productData xsi:type=”ns1:catalogProductCreateEntity” xmlns:ns1=”urn:Magento”> <name xsi:type=”xsd:string”>productnamehere</name> <price… Read More »ModSecurity: XML parser error: XML: Failed parsing document

Tie dynamic fields from custom phtml block to Product Edit Save request

I have created a custom block on my Product Edit admin page by adding this to product_form.xml: <fieldset name=”my_custom_fields”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>My Custom Fields</item> <item name=”sortOrder” xsi:type=”number”>30</item> <item name=”collapsible” xsi:type=”boolean”>true</item> <item name=”opened” xsi:type=”boolean”>false</item>… Read More »Tie dynamic fields from custom phtml block to Product Edit Save request