From be468a88e2deec05cbb2c4d3df404841d88f7af7 Mon Sep 17 00:00:00 2001 From: Olha Matviienko Date: Thu, 31 Oct 2024 15:01:40 +0200 Subject: [PATCH] Update xml-manage.md In the "Add or change itemprop global attribute for products" section, the XML and HTML code and examples markup was missing some "```". This caused the "To add the `itemprop` attribute..." text to appear in the same block as the XML and HTML examples. This PR corrects the markup to separate the explanation text and code examples. --- src/pages/guide/layouts/xml-manage.md | 49 +++++++++++++++------------ 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/src/pages/guide/layouts/xml-manage.md b/src/pages/guide/layouts/xml-manage.md index b0ddd401..d42e2150 100644 --- a/src/pages/guide/layouts/xml-manage.md +++ b/src/pages/guide/layouts/xml-manage.md @@ -173,7 +173,9 @@ By default, `itemprop=description` is an argument on the `short_description` att itemprop="description" +``` +```html
@@ -181,7 +183,7 @@ By default, `itemprop=description` is an argument on the `short_description` att

- +``` To add the `itemprop` attribute to another product attribute displayed in the `` of your product page layout: 1. Create a new theme-extension file similar to the `catalog_product_view.xml` found here: `app/design/frontend///Magento_Catalog/layout/catalog_product_view.xml`. @@ -190,17 +192,19 @@ To add the `itemprop` attribute to another product attribute displayed in the `< ```xml - - getDescription - description - description - none - Details - 10 - itemprop="description" - + + getDescription + description + description + none + Details + 10 + itemprop="description" + +``` +```html
@@ -213,6 +217,7 @@ To add the `itemprop` attribute to another product attribute displayed in the `<
+``` ```xml @@ -229,9 +234,9 @@ To add the `itemprop` attribute to another product attribute displayed in the `< ```html
-
-

The instructors and routines featured in LifeLong Fitness IV provide safe options to serve all types of physical conditions and abilities. Range of motion, body awareness and breathing practices are essential tools of yogic self-care, essential for maintaining alertness, health, and dignity over a lifetime. The LifeLong Fitness series acknowledges that as we age, the safety and sustainability of our exercise become as important as pushing our limits.

-
+
+

The instructors and routines featured in LifeLong Fitness IV provide safe options to serve all types of physical conditions and abilities. Range of motion, body awareness and breathing practices are essential tools of yogic self-care, essential for maintaining alertness, health, and dignity over a lifetime. The LifeLong Fitness series acknowledges that as we age, the safety and sustainability of our exercise become as important as pushing our limits.

+
``` @@ -239,15 +244,15 @@ To generate `itemprop=description` for `description` attribute, move the `add_at ```xml - - getDescription - description - description - none - Details - 10 - itemprop="description" - + + getDescription + description + description + none + Details + 10 + itemprop="description" + ```