Skip to main content
added 131 characters in body
Source Link

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why?

I tried to set the titles by doing:

app/design/frontend/MyTheme/Magento_Catalog/layout/catalog_product_view.xml

    <referenceBlock name="product.info.details">
        <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description"
               as="description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
            <arguments>
                <argument name="at_call" xsi:type="string">getDescription</argument>
                <argument name="at_code" xsi:type="string">description</argument>
                <argument name="css_class" xsi:type="string">description</argument>
                <argument name="title" translate="true" xsi:type="string">More Information</argument>
                <argument name="sort_order" xsi:type="string">5</argument>
            </arguments>
        </block>
    </referenceBlock>

But I didn’t succeed.

How to set titles for Description and Short Description so that they can be seen on the product page?

After the postponement when I saw that in

/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml

is not coming Description and Short Description, but why - I do not know. Does anyone have any options?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why?

I tried to set the titles by doing:

app/design/frontend/MyTheme/Magento_Catalog/layout/catalog_product_view.xml

    <referenceBlock name="product.info.details">
        <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description"
               as="description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
            <arguments>
                <argument name="at_call" xsi:type="string">getDescription</argument>
                <argument name="at_code" xsi:type="string">description</argument>
                <argument name="css_class" xsi:type="string">description</argument>
                <argument name="title" translate="true" xsi:type="string">More Information</argument>
                <argument name="sort_order" xsi:type="string">5</argument>
            </arguments>
        </block>
    </referenceBlock>

But I didn’t succeed.

How to set titles for Description and Short Description so that they can be seen on the product page?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why?

I tried to set the titles by doing:

app/design/frontend/MyTheme/Magento_Catalog/layout/catalog_product_view.xml

    <referenceBlock name="product.info.details">
        <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description"
               as="description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
            <arguments>
                <argument name="at_call" xsi:type="string">getDescription</argument>
                <argument name="at_code" xsi:type="string">description</argument>
                <argument name="css_class" xsi:type="string">description</argument>
                <argument name="title" translate="true" xsi:type="string">More Information</argument>
                <argument name="sort_order" xsi:type="string">5</argument>
            </arguments>
        </block>
    </referenceBlock>

But I didn’t succeed.

How to set titles for Description and Short Description so that they can be seen on the product page?

After the postponement when I saw that in

/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml

is not coming Description and Short Description, but why - I do not know. Does anyone have any options?

Source Link

Why titles for Description and Short Description not showing on Product Page?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why?

I tried to set the titles by doing:

app/design/frontend/MyTheme/Magento_Catalog/layout/catalog_product_view.xml

    <referenceBlock name="product.info.details">
        <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description"
               as="description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
            <arguments>
                <argument name="at_call" xsi:type="string">getDescription</argument>
                <argument name="at_code" xsi:type="string">description</argument>
                <argument name="css_class" xsi:type="string">description</argument>
                <argument name="title" translate="true" xsi:type="string">More Information</argument>
                <argument name="sort_order" xsi:type="string">5</argument>
            </arguments>
        </block>
    </referenceBlock>

But I didn’t succeed.

How to set titles for Description and Short Description so that they can be seen on the product page?