-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom category layout update not affecting products #27285
Comments
Hi @codedge. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @codedge do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
I don't know how I should reproduce this in a demo instance as I cannot create a custom XML layout file there. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Not stale |
Hi @engcom-Alfa. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Alfa Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @engcom-Kilo. Thank you for working on this issue.
|
Is this method used for custom CMS pages? What if you want to create multiple CMS pages with the same layout |
Preconditions (*)
Steps to reproduce (*)
I created a file
catalog_category_view_selectable_276_noindexnofollow.xml
inapp/design/frontend/<VENDOR>/<THEME>/Magento_Catalog/layout
. That file should set noindex, nofollow for a certain category.So we imagine we have a category with ID
276
, named Shirts.276
and select this update via the Custom Layout update dropdown. Please see that I also set Apply Design to Products.This is a subcategory of Shirts, named Soccer Shirts.
head
section of this three pages:Expected result (*)
<meta name="robots" content="NOINDEX,NOFOLLOW">
:<meta name="robots" content="NOINDEX,NOFOLLOW">
<meta name="robots" content="NOINDEX,NOFOLLOW">
:Actual result (*)
<meta name="robots" content="NOINDEX,NOFOLLOW">
The text was updated successfully, but these errors were encountered: