Questions tagged [xml]

Denotes questions about XML files and XML processing.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Magento 2.3.5p1 In widget.xml can I load collection? [closed]

I am trying to load a collection in widget.xml, I have been looking everywhere and I am not able to find a solution. Please can someone help me or give me a tip
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
1answer
31 views

Move custom product in More Information Tab

I want to move product attributes inside the more Information tab. Can someone help?
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.
1
vote
1answer
34 views

Call current product in custom phtml file in Magento 2

On the product page I created a custom module to override the form.phtml file. I also added the option to include a new file called customFile.phtml when the user clicks on a button that is positioned ...
1
vote
1answer
19 views

covert Text field to drop down selection

HI I downloaded an extension (checkout-custom-form) from here, I want to modify his extension, https://github.com/sbodak/magento2-checkout-custom-form the extension itself work wonderful. having below ...
2
votes
1answer
25 views

Can not save in db custom json value on block

In my plugin I created a new table 'myapp_staging' made of three columns: 'id', 'id_api_call' and 'f24_options_value'. In the last field I would like to save a response to my Api call in json format. ...
0
votes
1answer
15 views

magento 2.3.4: I want to put brand attributes value after the short description

I tried different xml code but unable to achieve. I am getting attribute value using below code, but above the sku, I want to place it in the short description block after it's content. <...
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
2answers
24 views

How to add Slick Slider

I want to add slick slider on my home page in magento using static block and phtml with rotating images. if anyone have idea about that then please answer my question as soon as possible. Thank you ...
2
votes
1answer
19 views

How can I increase the number of related products shown on product detail page in Magento 2? [duplicate]

I am running Magento 2.3.3 and currently show 4 products on the product detail page. Where do I go to increase that number to 6? I have found nothing in the admin panel.
1
vote
0answers
11 views

How to move the block under the sidebar in the payment step of checkout

I have a block that I display on the checkout at the bottom of the page <referenceContainer name="page.wrapper"> <block class="Magento\Framework\View\Element\Template" name="...
0
votes
2answers
27 views

How to call Static content block

I want to create static block in Magento 2.3.5 and call that block in footer content. please anyone can have idea then please share with me. Thank you in Advance.
0
votes
1answer
34 views

How to change the layout for a particular category page

I know that for the category page or product view page, we can change the layout in catalog_product_view.xml or catalog_category_view.xml. But how do I change exactly for a single particular category ...
1
vote
1answer
26 views

How to add text at bottom of checkout in magento 2

How to add text at bottom of checkout in magento 2 after block .checkout-container or column main or maincontent
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 ...
2
votes
1answer
38 views

Can you redirect CMS page to custom frontend route magento 2.3.5

I am trying to redirect a cms page to a new route which I have created for frontend. I am not sure if we can redirect to the new custom module route frontend with a config in admin area. My aim is I ...
2
votes
1answer
73 views

Magento 2 admin Uncaught TypeError: this.linksFieldset(…).visible is not a function

When we edit product from admin then its showing loading continue and also getting this error "Uncaught TypeError: this.linksFieldset(...).visible is not a function" is showing error in console. We ...
0
votes
1answer
35 views

Want to Learn magento 2.3.5

I am Working as PHP Developer and want to learn about magento 2.3.5 from scratch so can anyone having material related to magento 2.3.5 then please send me for self learning and any demo of modules as ...
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/...
1
vote
0answers
18 views

add custom banner on specific product view page

I tried to add a banner for a specific product but when I looked for the options, I can add in the content of the product, but I need the banner on the top of the specific product view page. Is there'...
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 ...
1
vote
1answer
28 views

How to change date format of yyyy-mm-dd for dd-mm-yyyy on admin grid?

Hi i'm new at magento 2 and i want to change the date format on admin grid of yyyy-mm-dd for dd-mm-yyyy.
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
1
vote
0answers
16 views

How to change driver between amqp and db

We have an extension that can make use of either MySQL driver db or RabbitMQ amqp. The drive is mentioned on these files: etc/queue_consumer.xml etc/queue_publisher.xml etc/queue_topology.xml https:...
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
37 views

Move “Cross Selling” products inside the “Related Product” tab in Product Page

I modified the catalog_product_view.xml to created a "Related Product" tab, and show related product in the tab. Also, there is a cross sell section show under Every tab. How do I move the Cross-...
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
1answer
32 views

Magento 2 - custom layout extending 2columns-left not working

I know there are 2 or 3 similar questions but there's no response for them. I'm creating a custom layout based on the 2columns-left layout. I have investigated from everywhere on the internet and the ...
1
vote
1answer
14 views

Default checkbox in ui_component admin customer_form to true and checked?

https://devdocs.magento.com/guides/v2.3/ui_comp_guide/components/ui-checkbox.html devdocs says default value is false but there is no clue how to turn it to true. Anyone know what to add in xml file ...
1
vote
0answers
19 views

How to control block XML cache via admin?

I've created a condition in my admin panel to enable or disable a feature in my module. In my XML I used the ifconfig to check if it's enabled or disabled. I want to disable the cache in the entire ...
1
vote
1answer
33 views

Calling ReferenceContainer or ReferenceBlock into phtml file

I am trying to call Template into list.phtml, this file is categories list file, here is the ReferenceBlock and ReferenceContainer code in xml file. <page xmlns:xsi="http://www.w3.org/2001/...
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
199 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
24 views

What does “catalog_category_view_type_default_without_children.xml” do exactly?

What does the layout file "catalog_category_view_type_default_without_children.xml" do exactly? From the name of the file it sounds like it's purpose is to allow you to customize the layout of ...
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
3answers
106 views

Element 'handle': Character content other than white space is not allowed because the content type is 'element-only

Migration from Magento1 to Magento2 was done using the data migration tool successfully. However, certain product pages end up throwing the exception as seen on the attached screenshot. To isolate ...
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....

1
2 3 4 5
23