Questions about Magento's layout programming meta-language.
Questions tagged [magento-layout-xml]
61 questions
2
votes
1 answer
Magento adding a section to product-collateral via local xml not working correctly
I have followed this article to add the product reviews into the collateral section on a product page:
http://www.crearegroup-ecommerce.co.uk/blog/magento-tutorials/product-reviews-on-product-view-page.php
I have added the following code to my…

shnozolla
- 468
- 10
- 20
1
vote
1 answer
Magento 2: How to add a credit card logo/image before amazon pay button on the checkout page?
I'm trying to add a a credit card logo/image before Amazon Pay button on the checkout page. Please guide me on how do I go about achieving this? screenshot attached

CodeForGood
- 767
- 7
- 30
1
vote
1 answer
How to show template of custom module in Magento 2.1.8 - Not Working
This is a custom module for Magento 2.1.8 the idea is to control the iframes with embedded youtube videos from the Admin panel. Basically to allow - fullscreen, controls, autoplay and so on..
I want this template to load on every possible page on my…

Milan Vugrinchev
- 39
- 6
1
vote
1 answer
How to create new tab in product create page for magento 1.9
I have created a new tab in magento product edit page, It is working fine for me. But I could not able to show the same tab in new product create page. Here I am sharing my code for adding the product tab in admin product edit page using my custom…

Team Techi
- 305
- 3
- 15
1
vote
1 answer
In Magento 2 how can I get a container layout element from name?
How do I get a layout container element programmatically from the name?
$layout->getElement('name');

minlare
- 2,454
- 25
- 46
1
vote
1 answer
Add custom tab to Magento product detail pages depending on category
In our Magento store we offer two kinds of products, each with their own root categories. I want to add CMS Static Blocks as custom tabs on product detail pages that are dependent on which category the product is under.
I know how to create tabs in…

Micha
- 11
- 5
1
vote
1 answer
Change magento header template only on product page
I use sm_market default template, purchased from themeforest. Here you can find the link: http://themeforest.net/item/market-premium-responsive-magento-theme-/8945695
I am trying to modify the header of my Magento 1.9.1 template on the product page.…

Megadeth
- 11
- 1
- 3
1
vote
3 answers
Magento, default layout for the custom module
I want to add a block in left column of only my module, not whole website.
If I place it in tag it will be shown in whole website, but I want to do something like , is it possible?
I know I can place my block in every…

Ahmed
- 651
- 17
- 42
1
vote
2 answers
Magento Layout xml usage of
I am attempting to replace the block that shows the image in the product view. I'm doing so programmatically with layout.xml. I've got it to work for all the products but I want to do it for only one category. My layout.xml is below; it is called…

Chris Chalmers
- 574
- 4
- 13
1
vote
0 answers
Filters showing up for all category products, rather than category specific filters from layered navigation
Using magento 1.7.2, i was able to load products for a specific category on my cms pages using the specific category layout handle in the local.xml file, and the layered navigation filters would show only for that specific category.
Now however,…

Masu
- 1,568
- 4
- 20
- 41
1
vote
3 answers
Magento - How to override persistent billing.phtml using custom module
Stuck on this for a long now :( I am trying to override a core template file
app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml
using custom module which I have successfully activated and the config file for my new…

user1415782
- 11
- 1
- 4
1
vote
2 answers
Nested block within a reference not rendering when using ->getChildHtml()
this is my layout xml:
…

Masu
- 1,568
- 4
- 20
- 41
1
vote
1 answer
Magento Layout update not loading
I am attempting to make a layout change that when a page in the backend loads that i can hide a few buttons, but i cannot seem to make my layout update trigger. following is my current code. Right now i am not concerned with the functionality of the…

NathanFrasier
- 196
- 1
- 13
1
vote
2 answers
Remove all blocks from Magento template
I want to remove all default blocks from the template/layout file of my custom Magento module. Currently I have used individual removes like
…

Arvind Bhardwaj
- 5,231
- 5
- 35
- 49
1
vote
1 answer
Set layout Magento in advanced search
I have several stores with different layouts. When I make a search in a store, the result is displayed with the default layout. If I call getStore by AdvancedController, the result is correct but the page has incorrect layout.
In the default…

miroku
- 176
- 2
- 10