Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Magento 2.4.7 the additional column in ordered items table in admin not showing

Magento 2.4.7 the additional column in ordered items table in admin not showing I have already tried the extend the sales_order_view.xml but still not working. Reference file path is app/code/Vendor/...
Rina Bhbabak's user avatar
0 votes
0 answers
19 views

Add layout update in category not working magento 2.2.11

I am just trying to add a custom layout update to one category. When I click in this category on design->layout update xml there nothing happens and there is always "no update" to see. I ...
Chris's user avatar
  • 1
0 votes
1 answer
28 views

How to add another progress step of CART before the Shipping progress bar in magento 2

Hi, In magento 2 how can we add another progress bar on checkout page. By default there are 2 "Shipping" , "Review & Payments". I want to add another which will be like "...
Areeb Khan's user avatar
0 votes
0 answers
35 views

Add custom customer attribute for default magento tax class

I have one requirement to create one custom customer attribute. That attribute should appear in the New tab in customer edit page in Admin layout customer_index_edit. Currently I am facing an issue ...
Mitul Vadalia's user avatar
0 votes
2 answers
21 views

How to override form_account layout block in magento2 admin

How to override form_account layout block in magento2 admin. I wanted to add a custom fiield under email field in account information section.
Divya M's user avatar
0 votes
0 answers
31 views

Updating cms_page_view but not cms_index_index htmlClass

Trying to update all cms_page_view pages except for cms_index_index layouts. E.g. on Magento_Theme/page_layout/cms_page_view.xml <referenceContainer name="columns" htmlClass="columns ...
Glory's user avatar
  • 1
0 votes
1 answer
38 views

Undo remove css done in a parent theme

I have one theme that is removing a specific css file that is not needed for it. layout/default_head_blocks.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Typhado's user avatar
  • 712
1 vote
1 answer
43 views

How magento handle new request on "*/*/ "?

This my request NewAction.php to handle the request this is result of request I don't have blog_post_new layout, How it will work ?
ducanh's user avatar
  • 11
-1 votes
2 answers
51 views

how to add sidebar.additional in search page?

I don't know how to add the sidebar.additional in the search page, can anyone help? here's what i tried so far in catalogsearch_result_index.xml : <?xml version="1.0"?> <!-- /** * ...
media.queeries's user avatar
1 vote
3 answers
91 views

How to remove parent theme handle from child theme programmatically?

Parent theme (theme design directory path) app/design/frontend/Jigar/basetheme/Magento_Customer/layout/customer_account_create.xml Here is the sample code : <?xml version="1.0"?> <!...
Jigar Karangiya's user avatar
0 votes
1 answer
39 views

how to change position to sorter.phtml block?

i'm trying to move this UI element vendor/magento/module-catalog/view/frontend/templates/product/list/toolbar/sorter.phtml from its original position to the right side of the screen inside another ...
media.queeries's user avatar
0 votes
0 answers
18 views

How to change website's header frontend layout?

we were just given a new UI for our website and we need to make some radical changes to our theme; one of them being changing the header's container from one colum-horizontal to 3 columns-vertical. We ...
media.queeries's user avatar
0 votes
0 answers
17 views

I have a website running on Magento where my account feature does not work on the mobile version of the website

I have a website running on Magento where my account feature does not work on the mobile version of the website. I want it to look like the second picture when I click on the account button. enter ...
Agent zebra's user avatar
1 vote
1 answer
170 views

How to remove block and block arguments in other XML layout magento 2

<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/...
Keval Chauhan's user avatar
1 vote
1 answer
104 views

Change Products per Page on Grid Default Value using custom layout xml - Magento 2.4

For some specific categories we would like to change the default value for Products per Page on Grid Default Value. By default it's set to 24. In our custom theme we create a custom page_layout with ...
JGeer's user avatar
  • 1,422
0 votes
2 answers
102 views

How can I make the button be black and white with round edges?

Banners have the correct button I want, black with white text and rounded edges The buttons added to the page have a burgundy boarder and blue text Can someone help as I cant find this anywhere in ...
user114366's user avatar
1 vote
1 answer
50 views

Adding CSS for specific CMS Page via Layout Update XML - Magento 2.4.x

I want to add the custom css for specific CMS Page, I know we can create a new theme for it but I want to use the Layout Update XML Or by adding it to empty page layout directly. Currently, if I add ...
Sheri's user avatar
  • 150
0 votes
1 answer
134 views

Magento 2 How to override configurable.phml file in custom module

I have tried below way to override configurable.phtml file /app/code/Vendor/Extension/view/frontend/layout/catalog_product_view_type_configurable.xml https://i.imgur.com/gpII3Ct.png But it did not ...
Keval Chauhan's user avatar
0 votes
2 answers
128 views

Override the canonical URL in custom layout handler

I'm attempting to override the canonical URL for a custom handler. I tried adding the following code via XML, but instead of overriding the default canonical URL, I now have both the default and the ...
Anass Hl's user avatar
  • 101
1 vote
5 answers
1k views

Magento 2.4.6 - No such entity with cartId - checkout_cart_index.xml

We face the issue that we sometimes get the error in the exception.log: Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with cartId = #0 /vendor/magento/module-quote/...
JGeer's user avatar
  • 1,422
0 votes
2 answers
2k views

Add Custom Field for creating new order from admin in Magento 2.4

I want to add new field while we create new order from the Magento admin. So, any one has any reference for this ?
Mitul Vadalia's user avatar
0 votes
0 answers
34 views

Override layout file in vendor directory of theme

I have created a theme in vendor directory. I want to override layout xml files in my theme directory. I have theme-frontend-themename. I have a folder in this directory named Magento_Theme. I want to ...
Mehreen's user avatar
  • 11
0 votes
1 answer
458 views

Is there any way to get system configuration value as true false in layout file(which is exists inside ui_component) array item in magento2?

I just wantend to get system configuration value inside the layout file which is exists in ui_component folder, in below code I just wantend to get system configuration value as true/false in the ...
Mark's user avatar
  • 73
0 votes
1 answer
73 views

Is there any way to get system configuration value in layout file which is exists inside ui_component

I just wanted to get system configuration value inside layout file which is exists inside ui_component, is there any way ?
Eion's user avatar
  • 13
1 vote
2 answers
527 views

Insert a custom block into the $block->getChildHtml('customer.form.register.extra') placeholder in register.phtml

I want to insert a custom block into the $block->getChildHtml('customer.form.register.extra') placeholder in the customer registration form - called in the Magento_Customer::form/register.phtml ...
David Lightman's user avatar
0 votes
1 answer
127 views

Different header/footer for guest users

I want to show different header and footer for the guest users and default one for the logged-in users. What is the right way to do so ? AND using the custom module to achieve this.
Cv Gandhi's user avatar
0 votes
1 answer
182 views

Ratio of images changed after update

After updating from Magento 2.3.5 to Magento 2.4.5-p1, I noticed that the aspect ratio of 1 image of 1 specific productpage has been changed. The rendered size, rendered aspect ratio, intrinsic size ...
JanosDjango's user avatar
0 votes
1 answer
85 views

Move multiple blocks in Magento 2 without xml

I need to move several elements of a layout without using layout.xml I have followed the bellow code to create an observer and it correctly moves a single element. When I try adding the other elements ...
user avatar
1 vote
2 answers
118 views

How to double extend Magento_Checkout/js/view/summary/item/details in Magento 2

is it possible to extend a new checkout_index_index.xml on top of already existing one I created a projectA/app/design/frontend/MageBig/martfury/projecta/Magento_Checkout/layout/checkout_index_index....
Mohd Farhan Bin Ramli's user avatar
-1 votes
1 answer
70 views

getting blank page after creating custom layout

I have created custom layout as below created 3-columns-double-footer.xml file inside Magento_Theme/page_layout folder <?xml version="1.0"?> <layout xmlns:xsi="http://www....
Hitesh Agrawal's user avatar
0 votes
2 answers
201 views

Block that doesn't explicitly declare template?

I recently followed a tutorial to add a custom fee to the checkout summary of my Magento store and after getting everything working, I realized that the block I created didn't need to have an ...
A. Andersen's user avatar
0 votes
1 answer
521 views

Move sign In or Create Account links to new container next to cart icon in header

Does anyone know how to achieve below design. Create a new container next to cart icon in header move top bar sign in and create account links to new container. Please kindly refer the screenshot ...
Kyle Reeze's user avatar
1 vote
1 answer
115 views

After changing to developer mode, I am facing the error Element 'remove': This element is not expected

After changing to developer mode, I am facing the error My site is working perfectly until I change it to developer mode Product page & News event page showing error. All other pages are working ...
Usman Ahmed's user avatar
3 votes
2 answers
1k views

Magento 2 ui/form/field template Error since Upgrade from 2.3.7 to 2.4.5-p1

since I updated from Magento 2.3.7 to 2.4.5-p1 I'm getting some errors with some xml layouts. On one of my XML files where I had <item name="template" xsi:type="string">ui/...
Alguve's user avatar
  • 33
0 votes
1 answer
319 views

How to stop external JS from being load from specific layout in Magento?

Magento provides a way to include external js or css using following method. <css src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css" src_type="url"...
Vishal Rathod's user avatar
0 votes
1 answer
534 views

Magento 2 - Move header links to side of mini cart

I am trying to move the top content of the header panel to by the minicart: I have tried several methods such as: <move element="header.links" destination="header-wrapper" ...
sulman's user avatar
  • 529
0 votes
1 answer
111 views

Validate if render referenceBlock in checkout layout

I have tried validate if render referenceBlock in checkout layout, but it does not work. I added block Vendor\Module\Block\Index in layout after referenceBlock Vendor/Module/view/frontend/layout/...
Diego Castro's user avatar
0 votes
2 answers
127 views

Unable to display product name in catalog_product_view.xml

I am new at Magento, I would like to render the product name to catalog_product_view.xml (product page) from a custom phtml but it didn't work. May I know where did I go wrong? Thanks! app/code/...
hill2011's user avatar
0 votes
1 answer
112 views

Add css file to layout not working

I try to add a css file to a new layout for a cms page (magento 2): src/app/design/frontend/NAME/default/Magento_Theme/page_layout/lpmdd-without-header.xml <?xml version="1.0" ?> <...
blind's user avatar
  • 11
3 votes
0 answers
65 views

How to move addtocart button right sidebar in magento

How to move right side add to cart in product detail page button please answer I want to change this into
Zahid Hussain Magento's user avatar
2 votes
3 answers
2k views

best practice for get a block by id in *.phtml template in 2022 year?

Can you help me figure out which best practices to use for get block template by id in phtml file? thanks everyone if you need some info please send comment okay, try it: i created a block in admin ...
esca7a's user avatar
  • 21
0 votes
1 answer
106 views

Layout.xml move element with custom condition

I want move an element based on my helper custom return (True/False), i knew if config can link up with backend config, but is it possible to use a custom helper? <move element="logo&...
hkguile's user avatar
  • 2,221
1 vote
0 answers
203 views

How to display the category tree on the left sidebar on one particular CMS page?

Magento 2.4 I tried displaying the category tree on the left sidebar on one of my CMS pages. The url key / identifier is mypage.html. I already set the layout to be 2 columns with left sidebar. Now I ...
user4095519's user avatar
3 votes
1 answer
602 views

Where can I find the nav-sections phtml file

I want to customize the nav-section component, like changing data, adding more links, and customizing its styling on hover, but I cannot find its phtml or markup file in the Magento theme. To my ...
Sara Whitmore's user avatar
1 vote
1 answer
545 views

add clickable URL for the category Image

I want to add custom clickable URL for the category image. Anyone can teach me what I need to do? I have to create a new attributes for the URL field?
Paul Fan's user avatar
  • 658
1 vote
1 answer
430 views

What is alternative of cacheable="false"

I am developing a module i which i override the Magento\Catalog\Block\Product\ProductList\Toolbar.php by preferece and list.phtml by catalog_category_view.xml layout. Correct product listing data is ...
Divya Rawat's user avatar
0 votes
1 answer
200 views

Magento 2 Layout handle forward / redirection works?

I just want to know is there any concept of Layout handle auto forward / redirection concept available ? Let me Explain in detail. Step-1: I have a controller folder called "Test" and ...
shankar boss's user avatar
  • 1,473
2 votes
0 answers
421 views

How can I display a multilingual store from right to left for Arabic store view?

welcome everybody. I'm Mostafa from Egypt, new to Magento. I installed magento 2.4.5 in localhost, and used the default theme "Luma", and added the Arabic language pack for the system, and ...
Mostafa Sayed's user avatar
1 vote
2 answers
4k views

How to pass argument from layout to block and how it works Magento 2?

I just wanted to know how to pass argumnet from layout to block and how its work and how its value pass in $data? Can anyone explain it deeply
Mark's user avatar
  • 73
0 votes
1 answer
679 views

how to override module-page-builder/view/frontend/layouts.xml

i want to override module-page-builder/view/frontend/layouts.xml. please help me. i am not able to override. Thanks
Pradeep Sanku's user avatar

1
2 3 4 5
25