Site logo

Archived topic

Displaying the description of a product category

13 replies · Started by Arkadiusz on March 19, 2021

Viewing posts 1–14 of 14

Good day!

In the Merch theme, the basic description of a product category is not visible on the front of the product category page. However, it is visible in the website code, which can be treated as Black SEO (showing different content to users and other Google robots). It should be visible at the front because that's its role.

This description is visible on the main page of the Shop, under the thumbnails of the product categories. It acts as a excerpt here. It is enough if the description has a few sentences and it looks bad. But it's not about looks, it's not the right place to describe a product category.

In my opinion, this is a mistake of the creators of the theme and I do not know how to deal with it without the participation of the developer.

Best regards to the community.

Hi there,

go to Customizer > Additional CSS and remove this CSS:

.tax-product_cat .woocommerce-products-header {
    display: none;
}

David
Thank you, the description on the category page is visible.
Please tell me how to remove this description on the Shop website. Contrary to the class name "woocommerce-product-details__short-description" he is not short, he is full. Of course we can't use display: none.

Hello David
However, this method does not work. I still have category descriptions on the store page. I still can't use long category descriptions.

Hello David
This code is not working. I added a child theme in function.php or via Code Snippet.
However, this method does not work. I still have category descriptions on the store page.
I still can't use long category descriptions.
Best regards

Hi there,

Have you tried removing the short description through the customizer settings?

Go to Appearance > Customize > Layout > WooCommerce and uncheck "Display short description" as shown here - https://share.getcloudapp.com/mXuKGAmj

Hello Elvin

Thank you for your answer.

Unchecking this option works, it means it turns off the description on the store's website.

But the short description here is handy. Is good.

The problem is that when this option is turned on, the FULL description is displayed. A SHORT would be ok. In the description of the category, I cannot select a part of the description.

I just read through the plugin codes and tested the fields themselves and the "display short description" displays the text that is added on this field on product creation - https://share.getcloudapp.com/DOuBKoO7

This should be the same case with your site. :)

Can you recheck this field on your product if the text placed on this field is the actual text meant for short description?

Hello
We deal with product category descriptions, not product descriptions!

Hello
We deal with product category descriptions, not product descriptions!

It also applies to the category descriptions on the listing. They share the same setting.

In the case of product taxonomy archive, there is NO short description because by default, the only field for the product category description is the one indicated here - https://share.getcloudapp.com/Wnu06B6D

That's actually what the GP Premium pulls for categories as shown on this code - https://share.getcloudapp.com/12uvkolw

Ok, thank you.

No problem. :D

This archived topic is closed to new replies.