Skip to main content

All Questions

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

Move bundle options via XML - Magento 2

I've tried absolutely everything I can think of to move the bundle options but for some reason they won't move. When you click the customize and add to cart button it's those options that I want to ...
Ordog's user avatar
  • 344
0 votes
1 answer
511 views

Magento:2 To add custom block in layout

I wanted to add a custom block in my account page after account information. <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license ...
Akash Killedar's user avatar
0 votes
1 answer
409 views

I want to override customer-account-index.xml from magento-customer

If we want to override customer-account-index.xml from magento-customer. Where I should override? By making folder name as Magento_Customer in app\design\vendor\theme or app\code\vendor\module.. ...
Akash Killedar's user avatar
0 votes
3 answers
3k views

How to create an empty container and render it

I want to create an empty container and get it rendered. Currently my empty container isn't showing up. <container name="empty-container" htmlTag="div" htmlClass="my-class"/>
Quisse's user avatar
  • 860
4 votes
1 answer
3k views

Page Title Move for All Pages - Magento2

<div class="columns"> <div class="column main"> <div class="page-title-wrapper"> <h1 class="page-title"> <span class="base" data-ui-id="page-title-...
Jimit Bhavsar's user avatar
1 vote
2 answers
920 views

How to disable button url in Magento 2?

I tried to put # places of the url, but the url still works and e.stopImmediatePropagation () with js also didn't help. Is there any way to do this through xml or otherwise? Thanks <item name="...
Robinio's user avatar
  • 781
1 vote
0 answers
440 views

Magento 2.3.2 LayoutXML Update remove canonical

Under Stores > Configuration > Catalog > Catalog, We have "Use Canonical Link Meta Tag For Categories" set to "Yes" There are a couple of category pages that we want to edit the Canonical Link for. I ...
meweb432344's user avatar
2 votes
1 answer
2k views

How to show Block depending on Customer Logged In/Out in Magento 2

I want to Show Conditionally Depend on customer logged-in status For Magento 1 I Found this Solution I want the Same Topic for Magento 2 // is Logged in <customer_logged_in> <reference ...
Waqar Ali's user avatar
  • 2,348
1 vote
1 answer
124 views

Various pages displaying "Customer Login" instead of their proper page title as defined in the xml page

My Contact Us page, Password Reset, Forgotten password and possibly a few other pages are having their page title overriten to say "Customer Login". I have a feeling that the culprit is located here,.....
gxrobb's user avatar
  • 87
1 vote
1 answer
756 views

Magento 2 - how to reference a template of my theme in a layout file?

I have this file app\design\frontend\company\mytheme\web\templates\header\foobar.phtml How can I reference it in a layout file e.g. in app\design\frontend\company\mytheme\Magento_Theme\layout\...
Black's user avatar
  • 3,431
1 vote
0 answers
195 views

Magento2: Cannot update wishlist list items with xml in module

I am trying to add a 'low stock' banner to wishlist items that are low stock. This works if I add my block to the theme xml file but doesn't if I add in a module wishlist_index_index.xml file. I ...
Mavis Bacon's user avatar
2 votes
1 answer
734 views

Override Default layout with module

I have one module called Test_A. We can override any layout of Module-theme in Test_A by giving the same name. Ex. Module-theme/view/frontend/layouts/frontname_controller_action.xml can be override ...
26vivek's user avatar
  • 467
1 vote
3 answers
849 views

Move add to cart to below price (and above description) Magento 2.2.5

How can I move the add to cart button immediately below the price in Magento 2? I presume it's an XML update but I am unsure of the code required. I want to move it from under the description to ...
YorkieMagento's user avatar
0 votes
1 answer
1k views

Magento 2 : Pass a variable to getChildBlock() in LayeredNavigation view.phtml

I have to pass a variable in layer/view.phtml /Magento_LayeredNavigation/templates/layer/view.phtml to its getChildBlock which is renderer/labels.phtml Amasty_Shopby/templates/layer/filter/...
summu's user avatar
  • 847
3 votes
0 answers
214 views

Admin side when Create Credit memo give error like No such entity with cartId = xxx in magento 2

when I am creating a new credit memo error generate like No such entity with cartId = xxx .so why this error generate anyone has a solution then give me. also, remove generated and var/*. Thank You
MageCurious's user avatar
  • 2,886
0 votes
0 answers
501 views

Magento 2 Return Controller data in the same page

I got help to accomplish send data from Controller to a Block, and then display the info from Block in a template. The thing is that I want to send a form and display the data from that form in the ...
Oscar Vazquez's user avatar
0 votes
0 answers
41 views

How the Quotes enter between the URL written in the default.xml file?

I have created a block for the header. And it contains static page URLs. I have added the URLs from the Theme default.xml. Here is the code. <block class="Magento\Framework\View\Element\Html\Link" ...
Akhil Anand's user avatar
0 votes
2 answers
4k views

Magento 2 - Add Class to ReferenceBlock

I need to add a new class to a referenceBlock, specifically the nav items in the Account Page. <referenceBlock name="customer-account-navigation-account-link"> <arguments> ...
Developer's user avatar
0 votes
1 answer
274 views

Magento 2 - Include css from module in template

I developed a new extension. I have some CSS which I need to include on some templates. CSS: app\code\Fekete\Newsletter2Go\view\frontend\web\css\main.css Block: \app\code\Fekete\...
Black's user avatar
  • 3,431
2 votes
3 answers
4k views

Magento 2.3 Product Category not showing changes on frontend

I am wondering if anyone can help. I have made some design changes to the following category: https://www.valvesonline.co.uk/manual-valves/ball-valves.html However these changes do not appear on the ...
Richard Smith's user avatar
0 votes
4 answers
378 views

How to override template in newsletter/manage?

I try to override the following template which is under www.example.net/newsletter/manage with my own /vendor/magento/module-customer/view/frontend/templates/form/newsletter.phtml Block class: ...
Black's user avatar
  • 3,431
0 votes
1 answer
61 views

Where can I restructure the html for the magento 2 product view page?

I am trying to theme my product view page but I cannot find the correct file to override in order to pull in all of the data where I want it. in my /app/design/frontend/theme/Magento_Catalog/...
gxrobb's user avatar
  • 87
0 votes
1 answer
53 views

I am trying to add a phtml through xml. But I can not add. Code shared below

trying to add a phtml through xml to account page sidebar. but i am not getting it right. the xml code is:
Chandan Sayed's user avatar
0 votes
2 answers
2k views

Magento 2 : Update layout handle from XML by condition

This is my layout file : <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
Niket's user avatar
  • 157
0 votes
0 answers
18 views

Remove single category in sidebar in category list page in magento2

Remove single category in sidebar in category list page in magento2
Nitesh Kumar  Singh's user avatar
1 vote
1 answer
70 views

Module layout file not being used

I have a simple module Alpine_AlpineCustom but it seems that my layout.xml file is not being applied properly and I just can't see why. I can see via Commercebug that the layout file ...
iphigenie's user avatar
  • 1,769
0 votes
0 answers
174 views

Magento 2 Layout Add to cart button displaying twice on PDP page

I am customizing product page in Magento 2.3.I have removed and moved some element by creating catalog_product_view.xml file in our theme. Below are the element tag: <move element="product.info....
akgola's user avatar
  • 2,967
0 votes
1 answer
2k views

Magento 2.3 catalog frontend product listing sort by position

I have category and i want to sort it by position in ascending order but somehow it is not working on the front end. Following is my XML <referenceContainer name="content"> <...
ibrar ahmad's user avatar
1 vote
2 answers
632 views

How to change text in customer dashboard sidebar?

I need to change the Address book text to My Contact Details in customer dashboard sidebar links. I used this below code but no use. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Ramesh KR's user avatar
  • 886
0 votes
1 answer
201 views

How to Override xml file into Parent Theme

I have installed one plugins 'cedcommerce' and enabled theme (ced_2k18) for it. My default theme is Porto. I want to override ced commerce plugin layout xml file into my parent theme. Basically i ...
Nafsss's user avatar
  • 758
1 vote
1 answer
364 views

Magento 2 add title to footer links block

I have tried to add a h3 header to the footer links block using the approach outlined here: Adding title to cms footer block This looks difficult to maintain and it wasn't quite what I wanted. I ...
Henry's Cat's user avatar
  • 2,045
1 vote
1 answer
410 views

How to customize the page via Layout Update XML section in a CMS page?

I'm trying to add a new CMS block into the sidebar and remove all other blocks there, using only the Layout Update XML section in a CMS Page via the admin panel, how could I do it?
Rafael Corrêa Gomes's user avatar
2 votes
2 answers
4k views

Magento 2: Add custom code before closing head tag

I am new to Magento. I have some products in my Magento 2 website. I want to add some custom meta code before closing of head tag. Example if (page_id==1){ some code } if(page_id==2){ other ...
John's user avatar
  • 75
0 votes
1 answer
2k views

Show Order Details in Order History

Basically I want to show Customer's Order Details information in order History page under Customer Account My Order History Page. Exactly what I'm did? I have overridden vendor/magento/module-...
Supravat Mondal's user avatar
1 vote
1 answer
502 views

Magento Blocks Positioning

I'm trying to move the social login block to the top of the page but i'm unable to find where to change this. I'v been searching and editing different files without success. URL for customer login ...
msrz85's user avatar
  • 21
0 votes
2 answers
1k views

Magento 2: Layout doesnt update

After clearing the cache default_head_blocks.xml doesn't update. How I clear the cache 1. php bin/magento setup:static-content:deploy 2. Flush Magento Cache in the admin What is the best way to ...
Tora's user avatar
  • 105
1 vote
0 answers
632 views

Magento 2 jsLayout won't work with checkout_index_index,.xml

I am trying to convert a static form in checkout_index_index.xml to a dynamic one using jsLayout. Here is my original xml: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
stanhook's user avatar
  • 143
0 votes
1 answer
2k views

How can I change the title of the Contact Page in Magento 2?

I am facing an issue regarding change Title on contact page in Magento 2. I have extend the template app/design/frontend/Mgs/child_theme_name/Magento_Contact/view/froentend/layout/...
Prits's user avatar
  • 623
3 votes
2 answers
410 views

Change default layout when create new product

When I create a new product, it always selects the layout 1 column. Is there any option, I can change the default value of layout when I create new product? Any help will be appreciated!
David Duong's user avatar
0 votes
0 answers
61 views

Magento 2.3.2 not loading my custom layout

I'm trying to override the customer login layout with no success. Magento for some reason is not loading my layout. I'm using Magento 2.3.2. This is my theme structure: I'm following this guide: ...
nikoskip's user avatar
  • 251
1 vote
2 answers
455 views

Magento 2: Override admin layout didn't work

I would like to override this quotation_quote_view.xml file layout (from a custom module) and add a block below this block reminder_date <block class="Cart2Quote\Quotation\Block\Adminhtml\Quote\...
tarek fellah's user avatar
0 votes
1 answer
216 views

Magento 2 - Estimate shipping costs block on homepage

I am trying to include the Estimate shipping costs block on my homepage. In my layout file (cms_index_index.xml) I have the following: <?xml version="1.0" ?> <page xmlns:xsi="http://www.w3....
sulman's user avatar
  • 529
4 votes
0 answers
291 views

Call a Shipping field from front end to backend Magento 2 Layout processor

I have added a custom delivery date option in shipping method on front end using layout processor and it is showing and working fine. Is there any way to merge or call the same method in backend order ...
hukkuzalmi's user avatar
1 vote
0 answers
2k views

Magento 2 :Add custom field on order create page admin

I want to add a date field right below shipping method on admin order create page I tried searching but magento 1 solution shows up I'm new to Magneto
hukkuzalmi's user avatar
1 vote
2 answers
1k views

Magento LayoutXML Update Default Products per Page Grid

I cannot edit my magento theme for now - I'm trying to do this through the back admin. I am also by no means an expert, so please forgive me. I need one category to have a default grid value of 48 ...
meweb432344's user avatar
0 votes
2 answers
403 views

How i Can Move Side Bar to Right on My Account Page

I want to Move Side-bar on My Account Page to Right On The Basis Of Admin Configuration Value After Some Research i found that it can be done by setting Page layout="2coloums-right" i saw Lots of ...
Waqar Ali's user avatar
  • 2,348
0 votes
4 answers
3k views

Magento 2 - How to get a list of newly created products on homepage

how I can get a list of newly created products? I want to display in frontend the latest added products.
Robert's user avatar
  • 2,186
1 vote
2 answers
877 views

Move additional attributes below short description

I want to move additional infos below short description. I found this: <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Bingo's user avatar
  • 31
0 votes
1 answer
109 views

ios Safari - Click on level 0 category menu would cause the background page shifted up unexpectedly

I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1 Steps to reproduce the problem: 1. Visit webpage with iPhone/iMac with Safari browser 2. Tap on Responsive ...
Victor Leung's user avatar
0 votes
1 answer
311 views

Load custom css in IE issue in magento2

I need to use custom css in IE. Added below code to default_head_blocks.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
Jafar Pinjar's user avatar
  • 1,961

1
3 4
5
6 7
25