Questions tagged [xml]

Denotes questions about XML files and XML processing.

Filter by
Sorted by
Tagged with
1
vote
2answers
45 views

override vendor xml file in magento 2

Dears, I have a xml file in the vendor directory: vendor/the_vendor/the_module/view/frontend/layout/the_file.xml I know that I should never make any change in this directory as it may be overrided by ...
0
votes
0answers
15 views

Magento 2 insert Checkout Item List Into another layout

I am trying to insert the Magento 2 checkout form into another layout. I tried a few things but I think this somehow needs to be expanded: my_index_index.xml <?xml version="1.0"?> <...
0
votes
0answers
5 views

How to set use address attributes

I have attributes wich display in customer_form_address_user_attributes BLOCK. How i can pass or change attributes. Maybe some xml or di?
0
votes
1answer
245 views

How to move add to wishlist button next to add to cart button [blank theme]

How can I go about moving the Add to Wish List Button next to the add to cart button? I can get the wishlist button to dissapear which I definitely don't want, but I can not get it to move next to ...
0
votes
0answers
14 views

compare product block display left sidebar_additional block in magento 2.3.5

how to compare products block define and call in our theme in magento 2.3.5 Now Please check our xml file app/design/frontend/Mageplaza/simple/Magento_Theme/page_layout/2columns-left.xml <?xml ...
0
votes
2answers
18 views

Magento 2.1.9 can't find save button class

I am trying to get a save button on a dynamic row field to fire but on loading a CMS page I get the following error: Class Brancom\PageExtensions\Block\Adminhtml\DynamicRows\Edit\SaveButton ...
0
votes
1answer
29 views

How can i make a particular block cachable

I have a custom block i want only that block's cache to be cleared I tried 2 methods set cachable = false in layout file for my block (This clears full page cache) in my block I added a method ...
0
votes
1answer
24 views

Magento2 - How to bring a 100% html template?

I have tried several methods to bring an html template to Magento2. One was to simply load style sheets from the template I was working on. The styles were mixed with the standard template, and the ...
0
votes
3answers
66 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 ...
1
vote
0answers
24 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
40 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
24 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
8 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
20 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
29 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 ...
1
vote
1answer
61 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
25 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
35 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
54 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
17 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
38 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
185 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
25 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
33 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
41 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
64 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
204 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
66 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
111 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 ...
1
vote
1answer
49 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
12 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
4 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
28 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
26 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
19 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
153 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
34 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
22 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
42 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
9 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
24 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
97 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
94 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
211 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
80 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
20 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
122 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
59 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
543 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 ...

1
2
3 4 5
24