Questions tagged [xml]

Denotes questions about XML files and XML processing.

335 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
200 views

Magento Dataflow Advance Profile To Export Customer in Google Contact Format

I have difficulty to find any guide relating to this subject. Basically, I want to export all customer using magento dataflow profile export to csv, in a way so I can just import the csv to the google ...
1
vote
2answers
270 views

ECG compliant alternative method for file_get_contents (remote XML)

What is correct "ECG-way" to load an remote XML file? For local files this works: $xml = new Varien_Simplexml_Config($configFile); $node = $xml->getNode('my/selected/node'); But not from remote ...
1
vote
3answers
5k views

How do you add a custom attribute to the customer grid in the adminhtml?

Seriously why is this such an exercise in frustration? I've added my custom customer attribute using the EAV model, the PROPER way. I'm able to save this attribute when I save a customer. I've ...
1
vote
2answers
357 views

Magento admin: Sales / Tax menu disappeared

Tax settings from the Sales menu have disappeared. It appears this is a conflict with a certain module, when I disable this module from app/etc/modules the tax menu reappears. No menu items from the ...
1
vote
1answer
2k views

How do I add canonical or any meta head in Magento 2 via CMS Layout XMLs?

I have a custom CMS page with the url of /test I tried pasting this in the Layout Update XML under Page Layout AND also tried under the Custom Theme Layout Update XML.. both options do not work <...
0
votes
3answers
28 views

How to add logo in cms_index_index.xml in magento 2.3.5

app/design/frontend/vendorname/themename/Magento_cms/layout/cms_index_index.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt ...
0
votes
0answers
5 views

How can you have multiple dependences for a single parameter in a widget.xml file?

Like many things with Magento widgets, this should be simple but clearly isn't. How can I use the same depends logic but for multiple parameter values? so <depends> <parameter name="...
0
votes
0answers
17 views

how to override framework xml

Is there any way to override core XML file like this vendor/magento/zendframework1/library/Zend/Locale/Data/fa.xml at this file, we have some hidden characters that should be removed or replaced ...
0
votes
0answers
7 views

Visual editor for custom order attribute

It's possible to add a visual input on user infos form, is it possible to do this to my orders ? I already add the column in filters and I did this to add the field : $salesSetup->addAttribute(...
0
votes
0answers
15 views

How to export customer data as a xml file

Hello i am fairly new to the magento2 development. I want some adivce on how I can perform the following: when a new customer signs up for an account, the magento process should export a xml file with ...
0
votes
0answers
12 views

Magento 2.3.5 - Remove Page Title Suffix for homepage

We want to remove the page title suffix for the homepage in our Magento 2.3 store. Therefore I already created a Custom Layout Update in our theme folder with the following xml. But that does not seem ...
0
votes
0answers
10 views

can layout xml get custom attributes dropdown?

How can I get dropdown box Customer custom attributes that I created and implement to the layout xml file? so it will show the dropdown box on the frontend.
0
votes
0answers
11 views

Magento 2 backend grid not sorting date

I added a DateColumn component to my backend grid which looks like this <column name="booking_from" class="Magento\Ui\Component\Listing\Columns\Date" component="...
0
votes
1answer
26 views

How to add a required checkbox to checkout page (policy check)

I know that there is basic functionality, but it does not suit me. How to display my template under the form with the link to the privacy-policy page? Or tell me how to do it right. I need a ...
0
votes
0answers
6 views

How to create admin form and action for edit and delete in magento 2

I am developing one module for post data to be displayed on front-end and all posts can be add,edit,delete by admin. I want to use UI Component for that, so can anyone can have idea about how to ...
0
votes
0answers
3 views

set full width only on a particular category page

I need to set the particular category page with full width. Is it is possible with xml and how?
0
votes
0answers
23 views

Custom template file is loading after hard refreshing the page in Magento 2

I override vendor sale module template file Module-sales/view/adminhtml/templates/order/create/sidebar/items.phtml in custom module with directory name Vendorname/Companyname/view/adminhtml/layout/...
0
votes
0answers
11 views

move xml only for desktop view

I'm using a single theme for both the mobile view and desktop view. I have used so much move elements or the desktop view. It has affected for the mobile view also. I don't think that responsive.js ...
0
votes
0answers
22 views

Add customer in grid on category edit page at admin panel Magento 2

As in the product page we can add related product with modal, I want to add the special customer to the grid table in the category page.I list,show customers in modal,i can select but when I add the ...
0
votes
1answer
19 views

How to disable the authorization form on the checkout page using xml

How to disable the authorization form which is located on the checkout and appears if the user is not authorized. Need to disable completely or in the second step
0
votes
0answers
7 views

Making dynamic page from custom attribute

I am trying to generate the dynamic creator page for each creator name and its product. I have custom attribute called "creator", and drop down list of different author names. Each author is assigned ...
0
votes
0answers
7 views

A layout for Grid View and a layout for List View on Category pages

Is there a way to have a catalog_category_view.xml for a grid view and then another for the list view? Currently, I am using the phtml file to manipulate the columns however, I need a completely new ...
0
votes
0answers
10 views

How to update addItemRender action through layout file for changing the template in Magento 1.9

I have this piece of code in my custom theme in layout file: <default> <reference name="header"> <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/...
0
votes
1answer
36 views

Creating a custom theme for Magento2 from the Luma theme as parent

Referencing this article below: https://www.codextblog.com/magento-2/create-a-custom-child-theme-from-luma-theme/ Having followed all of the steps, our theme is created and applied, but none of the ...
0
votes
0answers
22 views

Magento 2 - How to use swticherConfig for hiding a fieldset, not a field

As we all know switcherConfig can be used to show/hide fields inside a form or fieldset, How can we use it to hide fieldset not just a field.
0
votes
1answer
200 views

Magento 2.3.4 custom layout update - insert different facebook OG on each page

I need to have a different Facebook OG:IMAGE for each CMS PAGE. I found on official documentation how to add a custom layout update on Magento 2.3.4 --> I've already created this file ...
0
votes
0answers
10 views

How can I get store config value in ui_component xml file?

any idea on get store config value in ui_component xml file? EX: I want to get weight unit for a input form, then I tried <item name="addafter" xsi:type="helper" helper="Magento\Directory\Helper\...
0
votes
0answers
14 views

Show blocks like JQuery UI Tabs on product detail page in magento 2

The related and alternate products blocks are showing as siblings one after the other. See current layout screenshot. The code is inside catalog_product_view.xml: <move element="catalog.product....
0
votes
1answer
42 views

i want to override file vendor/magento/module-theme/view/frontend/layout/default.xml in magento 2.3 porto theme

I am using smartwave porto theme in magneto 2.3.2.I am new in magento.How to override this above title file. But I checked in app/design/frontend/Smartwave/porto/Smartwave_Porto/ In above path module-...
0
votes
0answers
27 views

How to exclude all JS in a custom theme?

I want to include my own js or include only a few js in require.js, but need to exclude all js files / css files being loaded default by Magneto or any module. It is explained here: https://devdocs....
0
votes
0answers
17 views

Please correct the XML data and try again Magento 2.1.9

Getting these errors in my system.logs continuously [2020-03-05 07:11:13] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_391fccd54da687afc76a5d6559b714906 and handles default, ...
0
votes
0answers
17 views

Images invisible on catalog page upon resizing images in view.xml

I have changed the size of image in view.xml as <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <view ...
0
votes
0answers
19 views

In checkout page while I'm switching the address the shipping method is not get updated Is there any way to fix the issue?

In checkout page while I'm switching the address the shipping method is not get updated Is there any way to fix the issue ?
0
votes
0answers
33 views

Magento2 - Category filter is not working for all product list

Magento2 - Category filter is not working for all product list Issues page
0
votes
1answer
31 views

Get custom attribute in one step checkout

I'm trying to get a custom attribute (mgs_brand) in MagePlaza's One Step Checkout. I've created a catalog_attributes.xml file like so - <?xml version="1.0"?> <config xmlns:xsi="http://www....
0
votes
2answers
412 views

Layout Update XML for Category in Magento 2.3.4

Can anyone help me how to change number of products per page for a SPECIFIC category. I am on magento 2.3.4 and noticed that Layout Update XML does not exist anymore.
0
votes
0answers
48 views

Magento2 - Change position of wishlist on catalog-category view page

I want to change the position of Wishlist icon on the top of image . Do I have to achieve this through xml or through css? I tried through xml but I couldn't move it over the image. Here is the ...
0
votes
0answers
15 views

magento 2 in how to category filter in all subcategory list show?

magento 2 in how to category filter in all subcategory list show ? Category • Technology & gadgets ◦ Power Bank ◦ Fitness Tracker ◦ Smart Watch ◦ Wireless Chargers ◦ Mobile ...
0
votes
1answer
82 views

how to make noindex nofollow for login page

I want to make noindex nofollow for login page, i tried <customer_account_login translate="label"> <label>Customer Account Login Form</label> <!-- Mage_Customer ...
0
votes
0answers
30 views

Magento 2.2.3 admin ui component works on developer not on production page is blank

My Custom admin page isn't loading up. I get a blank screen I have taken a look at the similar questions in Magento.StackExchange but none of them did the trick. it works if I put the MAGE_MODE to ...
0
votes
0answers
38 views

Please correct the XML data and try again. Element 'head': This element is not expected. Line: 2

I am trying to remove the <meta name="robots" content="INDEX,FOLLOW"/> Using Layout Update XML within Magento 2 Design Tab but i am keep getting the following error Please correct the XML ...
0
votes
0answers
13 views

Custom theme magento 2 from Luma missing Customer sign in

I have "create account" but I am missing "Sign in" here is my custom default XML - I am getting system error report, "main.CRITICAL: Broken reference: No element found with ID 'customer. not sure its ...
0
votes
0answers
83 views

How to create a custom table in Magento 2.3 using XML (Declarative Schema) and integrate in custom admin grid?

I need to create an admin grid and for that i need to create a custom table using Declarative Schema in Magento 2.3. How to create a custom table using declarative schema and integrate the table with ...
0
votes
0answers
11 views

Magento 2 in how to upload the image in multiple images (image.jpg,image1.jpg) ? ita not working in this magento fields add options

Magento 2 in how to upload the image in multiple images (image.jpg,image1.jpg) ? ita not working in this magento fields add options I need the upload image with in multiple image select to upload, ...
0
votes
0answers
20 views

Magento 2 : How to create rss xml file

I want to create RSS feed like this It is a link abc.com/feed.rss Any help? Thank in advance.
0
votes
0answers
42 views

xml code is wrong

was trying to add custom head script for favicons / app icons <link rel="apple-touch-icon" sizes="180x180" href="Magento_Theme::icons/apple-touch-icon.png" /> <link rel="icon" type="...
0
votes
1answer
27 views

What is the difference between usage of '/' and '\'?

<block class="Magento\Framework\View\Element\Template" name="test" template="test/example.phtml" /> In above example for class used '\' and template '/' use Magento\Framework\...
0
votes
0answers
19 views

How can I use a block I created in my plugin to be used as a CMS block?

What am I trying to achieve? I want to show a block of my plugin on every product page of a specific category. What my problem is right now. In the Magento CMS you can add XML layout to a category ...
0
votes
0answers
40 views

Magento XML feed

I have a magento feed output with filters setup as to which products to export but it still exports absolutely everything on my webshop. I've included the xml code below, is there something wrong ...
0
votes
0answers
11 views

changes are not showing init.xml in magento 1

In Magento 1 - custom theme,path - app/design/frontend/xyz/xyz_abc/etc/init.xml init.xml <layout_handle_2><![CDATA[]]></layout_handle_2> <position_2><![CDATA[]]></...

1 2 3
4
5
7