Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xml]

Denotes questions about XML files and XML processing.

1
vote
0answers
400 views

header my account dropdown not showing magento2.1

I have been trying to add my account drop down menu in my magento website. I found that it is there in luma theme by default. But my base theme is magento/blank. My account links are displayed in a ...
1
vote
0answers
167 views

Magento 2 : override configurable product

Can u tell me which XML file bind all files to create configurable product so, I can override that file in my custom module at front-end side. Exactly, I want to create configurable button and by ...
1
vote
0answers
90 views

Error on Container inside referenceContainer checkout.cart.methods

I have a problem with a custom block inside the container Checkout Cart methods. I have add this code on checkout_cart_index.xml on my theme. <referenceContainer name="checkout.cart.methods"> ...
1
vote
0answers
88 views

Magento 2 : How to Set Category to Show 5 Columns

The default number is 4, so I want to change (using XML like Magento 1) to 5 or more products per row.
1
vote
0answers
401 views

Magento 2.1: Disable title suffix just for home page

I've set up title suffix for all pages in Content > HTML Head > Title Suffix, so now every page has suffix | Pagename.tld That's all good. But I would like to exclude my homepage from this rule. I ...
1
vote
0answers
305 views

Custom styles not working - Magento 2

Please note the current development is in dev mode & writing to pub/static. It is using browser sync and the sass snowdog theme for magento2. I've got my theme running and using the Sass Snowdog ...
1
vote
0answers
23 views

something about category_form.xml

I want to add a input only can be put in a url like "http://www.google.com", I do it like this: <field name="url"> <argument name="data" xsi:type="array"> <item ...
1
vote
0answers
306 views

Magento 2 : How To Remove Canonical Link on Page

How to remove canonical link on page (using xml)?
1
vote
0answers
153 views

Magento 2 xml/csv convert

I am trying to figure out how that an automatic feed (csv or xml) works within Magento 2. Does anyone know a page with information on how to do so? I have the xml product feed or the CSV product ...
1
vote
0answers
98 views

Exclude CSS/JS file For IE browser from magento 2 XML

How can i exclude a CSS file from XML for IE browsers
1
vote
0answers
49 views

Moving a referenced block via arguments?

Is it possible to reorder elements by passing an <argument> inside a referenceBlock tag if I am not able to add my after/before where the block was first called?
1
vote
0answers
76 views

Magento 2.1 position in layout XML changes position in generated HTML

I'm trying to understand Magento's html building process. Currently I'm stuck at this file: https://github.com/magento/magento2/blob/develop/app/code/Magento/Theme/view/frontend/layout/default.xml ...
1
vote
0answers
998 views

Magento 2 - Can't access to products with direct url

I'm creating my custom theme, now I have a problem with links to my products, I can access to product only going to the category and the clicking on the products. Then if I put the link on the ...
1
vote
0answers
270 views

Transaction email - I like to change the order detail fonts

My goal is to have the Order Confirmation Email have a uniformed look. I am able to make changes the using the Transnational Email admin function in Magento but some parts of the Order Confirmation ...
1
vote
0answers
451 views

Magento 2: Update Billing Address info fields

Sometimes, when the checkout loads, the Region input field is out of position and is placed before all of the other inputs (before firstname input field) in both the Shipping Step (Shipping address) ...
1
vote
0answers
897 views

Magento 2: How to define Order of Events?

In my events.xml I have so 4-5 Observer With Events. I would like to Define Their Call Order <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
241 views

Magento 2: How to show request variable in Layout file

http://localhost/magento2/module/List/Variable Here Variable is my dynamic value, which would like to show in Breadcrumb & Title via Layout File. app\code\Custom\Module\view\frontend\layout\...
1
vote
0answers
36 views

populating products from xml on into magento catalog

I am looking to develop an automated system for inventory but got no pointers on how to, there is a product XML from a shop with product meta information, which my Magento store should read through ...
1
vote
0answers
265 views

Get data from Soap Xml API using CURL or SOAP Object

I want to integrate some out soap API data with magento store and want to get data from soap API. For this I have two methods to get data one is using curl and other is using soapClient object, and ...
1
vote
0answers
567 views

Export group prices - CSV vs. Dataflow

We want to be able to export specific product data in MS XML Format using Dataflow. I realized it does not export group prices, whereas the CSV standard export does this. I couldn't see any option to ...
1
vote
0answers
52 views

Magento 2 order mass action xml

So i was making a mass action for orders and i was searching for what this: <item name="type" xsi:type="string">delete_order</item> line of xml does and what its used for in the /view/...
1
vote
0answers
45 views

Zend_Http_Client SimpleXMLElement error

Sometimes when i visit my website's admin panel I get these spooky Warnings in my system.log: ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 8: parser error : Premature end of data ...
1
vote
0answers
346 views

Layouts of cms page don`t work in magento 2

I want to stylize the cms page 404. Content added through the admin page. To override the layout I created a file cms_index_noroute.xml in app/design/frontend/mytheme/Magento_Cms/layout. However, the ...
1
vote
0answers
2k views

Magento 2: Customising Checkout page – not working!

I am trying to remove input fields (Company and Telephone) from the Checkout page. I have followed what is explained on the M2 site here under 'Disable a component'. I have done the below but nothing ...
1
vote
0answers
46 views

custom XMl works well on dev machine but doesn't work properly on server

Having a strange issue on custom created modules layout xml in 2 different environments. On dev machine all created xmls are getting loaded and executed but when pushed code on server none of the ...
1
vote
0answers
44 views

Declaring observer from xml for review form submit issue

Hey I am trying to declare an observer from xml but it doesn't work. This is my xml: <config> <global> <events> <review_save_after> ...
1
vote
0answers
205 views

Add a catalog/navigation block to the left_first block - products not displaying

I have a custom navigation layout. <div class="left-navigation"> <?php /* Get the categories that are active for the store */ $_main_categories=$this->getStoreCategories(); ...
0
votes
0answers
7 views

magento dev:urn-catalog:generate command fails to detect secret file

I'm running the following command "magento dev:urn-catalog:generate .idea/misc.xml " to use the functionality of Magento 2 to automatically resolve all my URN's so PhpStorm will stop giving me ...
0
votes
0answers
14 views

system.log from getFeedData() they are filling up my logs

Every time I am checking my system.log file I would always find the following warnings. ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Space required after the ...
0
votes
0answers
18 views

Export All Products From Magento to XML File

I'm trying to export all our listed products from our magento site to an XML file - appears the only option via admin site is to do this via CSV - this comes out unreadable. Can you advise?
0
votes
0answers
6 views

Change mobile navigation

I am trying to work out which xml file controls the menu on luma for mobile so that I can remove the Menu/Account section here at the top So I can achieve something similar to this
0
votes
0answers
17 views

How to render UI Component grid using .xhtml file?

I was used following code but no luck 1) abc.phtml include ($block->getTemplateFile('Vendorname_Modulename::event.xhtml')); 2) event.xhtml <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
0answers
11 views

magento 2 use class constant value into XML file

Hi I am working with the Magento 2 constant, the following constant i want to use in XML file class Data extends \Magento\Framework\App\Helper\AbstractHelper { const CUSTOM_TAX_CODE = 'customtax'...
0
votes
0answers
28 views

magento : Give condition in xml file

Condition in xml file catalog.xml <xsl:if product="bundle" > <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/&...
0
votes
0answers
12 views

create custome xml in magento 2

i create custom XML file <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:chalaksoft:...
0
votes
0answers
30 views

Product Form with Custom Datasource not showing default values except image of product in magneto 2 Admin

<?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> ...
0
votes
0answers
15 views

Magento 2 Data in SSRS Reports

Has anyone been able to query Magento 2 (any entity, but I am specifically using orders) using the XML data source in SSRS Report Builder? I am having difficulty structuring the connection string. If ...
0
votes
0answers
18 views

Grid name=“collection” on di.xml work with an undefined path

When I want to generate the Grid on my admin panel, I need to add that on my di.xml. the code : <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory"> ...
0
votes
0answers
106 views

Magento2 : How to add button in admin custom module page?

I want to add one button here how I can add code?? and how to add action controller any idea ?? i already tried this answer(https://magento.stackexchange.com/a/212656/73525) but showing error ...
0
votes
0answers
17 views

Migrate from opencart to magento is i need to resubmit xml sitemap to google webmaster after successfully migration?

After migration from opencart to magento is i need to submit xml sitemap to google webmaster?
0
votes
0answers
18 views

Trying to add an external CSS file to a specific CMS page in Magento 2.2.5

I can't seem to get external CSS file to load on a specific Magento 2.2.5 CMS page. My current XML layout update code is this <body> <attribute name="class" value="stacked"/> <...
0
votes
0answers
57 views

Export Category name in xml feed Magento 1.9.2

I have the script below for exporting product xml feed for magento 1.9.2 The problem is that I cannot export the category name for each product The scipt is: require 'app/Mage.php'; Mage::app(); $...
0
votes
0answers
33 views

Magento Amasty FPC and Dynamic Content

We have Amasty FPC and want to use their hole punch method for Dynamic Content but I’m a little confused on the XML configuration file. Their is two methods which have the block exclusions - one is ...
0
votes
0answers
15 views

Magento2 make logo inline with navigation

To make the logo and nav sections inline is it better to move the logo into the nav or the nav into the header?
0
votes
0answers
15 views

Magento2 If I move containers with XML it kills css

I applied custom css to my navigation bar. Then when I moved the nav bar into the header via xml my css was no longer working. Why is that? The correct css is in the section.
0
votes
0answers
280 views

Magento2 set image size in etc/view.xml

I have this XML to set my image sizes for both related products and my catalog widget on my home page. The Related Products portion works but the home page one doesn't. <media> <images ...
0
votes
0answers
58 views

Move element is not working as expected in magento 2.1

In category_catelog_view.xml I need to move a custom layered navigation above the product grid. I tried all of the listed below <move element="custom.left.layered_nav" destination="content" before=...
0
votes
0answers
68 views

Magento 2 on mobile display layered navigation before products

In default Magento theme, on the category page, the layered navigation is at the left column, and products in the main. This is OK. However on mobile, it first displays the products, and after the ...
0
votes
0answers
28 views

Change Module position in xml

I used a module Product Videos in Magento 1. I like to show a videos in description tab ? It is possible ?
0
votes
0answers
36 views

In mftf, popup elements are not getting identified

In Test folder xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> <...