Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [custom-layout-update]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
29 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
  • 140
0 votes
0 answers
33 views

Magento 2 category shows all catalog products instead of its actual products after setting its layout to a custom layout

I have the following issue with a magento 2.4.3 category: Using the default theme (having the category's Design/[No layout updates] option selected), it properly shows its products and their number: ...
Robert's user avatar
  • 73
1 vote
0 answers
127 views

magento 2.4.4.p2 cms page save Custom layout update is invalid

I am trying to save the existing cms page getting Custom layout update is invalid after upgrading 2.3 to 2.4.4 p2 getting this error. if I save a new page saving properly works fine I have checked the ...
Pawankumar's user avatar
1 vote
0 answers
21 views

In M1 you could place a Static Block anywhere. In M2 I cannot

Adding a block using a Widget works fine -- BUT my only choices are to add the block to ALL CMS pages or to All Category pages. I have specific blocks made for specific pages, how can I place them ...
Doug's user avatar
  • 11
0 votes
1 answer
539 views

How to change address field labels on the payment / billing page?

I needed to change the street field label on Magento checkout shipping page. According to Magento documentation, the best practice is to use LayoutProcessor Plugin. I successfully changed the labels ...
magento's user avatar
  • 11
1 vote
3 answers
2k views

Create a custom layout for certain categories in 2.4

I want to create a custom layout for one or more categories. I followed the next steps: Extended and customized <theme_dir>\Magento_Catalog\layout\catalog_category_view.xml (layout instructions ...
inodna's user avatar
  • 11
0 votes
1 answer
240 views

Magento 2: Unable to change category sort direction to descending

I've been unable to change the default sort direction for a category to descending. I've tried putting the XML in different files but none have had any effect. The first thing I tried was using "...
Daniel Andersson's user avatar
0 votes
1 answer
47 views

CMS Custom layout update not showing in Magento 2.3.4

I've read the patch notes about moving the Custom Layout Update to a layout file in Magento 2.3.4 so I thought I was doing this correctly but something must be off because I still don't see the option ...
Jim's user avatar
  • 537
4 votes
3 answers
3k views

Custom layout update not working 2.4

I have made the custom category layout update named as catalog_category_view_selectable_3_Test.xml in Magento_Catalog/layout. When I checked in admin panel in custom layout update the options is not ...
Haerriz's user avatar
  • 681
1 vote
0 answers
543 views

Magento 2 cms_page_view_selectable not visible in AdminHtml CMS page Custom Layout List

I'm trying to create a Custom Layout update for a CMS page (as per https://docs.magento.com/user-guide/design/layout-update-place-block.html). On local environment it is present in the CMS Page ...
Radu's user avatar
  • 460
1 vote
1 answer
1k views

Magento 2.3.5 how to add canonical links for cms pages having slash at the end of url-key

I am using magento 2.3.5p1 community edition. I want to add canonical links in cms pages. As in 2.3.5 magento we have to create a separate layout update file as cms_page_view_selectable_[cms-url-key]_[...
chanchal's user avatar
  • 417
0 votes
0 answers
82 views

I don't see No Update on Category design backend

In Magento 2.3.4-p2 with Luma, when I try to save category in the backend I get this error message, "Something went wrong when saving the category", and I can't find out what is going on, ...
Sérgio Mordente's user avatar
0 votes
1 answer
319 views

Layout switcher for product view magento 2.3.5 (Custom layout update)

Since the update to Magento 2.3.x it is possible to change the layout of the product output using a product id or sku: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/product-...
Materix's user avatar
  • 468
0 votes
1 answer
268 views

Magento 2.3.5 Custom Layout Update

I need to use a layout update for cms page. I've created a file called cms_page_view_selectable_home_HomePageBlocks.xml <?xml version="1.0" encoding="utf-8"?> <page xmlns:xsi="http://www.w3....
krybbio's user avatar
  • 1,258