- This topic has 13 replies, 3 voices, and was last updated 4 years, 6 months ago by
Elvin.
-
AuthorPosts
-
March 19, 2021 at 12:33 am #1701356
Arkadiusz
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.
March 19, 2021 at 4:13 am #1701575David
StaffCustomer SupportHi there,
go to Customizer > Additional CSS and remove this CSS:
.tax-product_cat .woocommerce-products-header { display: none; }March 19, 2021 at 4:53 am #1701610Arkadiusz
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.March 19, 2021 at 7:22 am #1701968David
StaffCustomer SupportTry adding this PHP Snippet:
add_action( 'after_setup_theme', function() { remove_action( 'woocommerce_after_subcategory_title', 'generatepress_wc_category_description', 12 ); } );Adding PHP: https://docs.generatepress.com/article/adding-php/
April 23, 2021 at 12:32 am #1745581Arkadiusz
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.April 23, 2021 at 9:07 am #1746241David
StaffCustomer SupportTry the updated code here:
https://generatepress.com/forums/topic/displaying-the-description-of-a-product-category/#post-1701968September 12, 2021 at 4:41 am #1927571Arkadiusz
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 regardsSeptember 12, 2021 at 4:48 pm #1928167Elvin
StaffCustomer SupportHi 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
September 12, 2021 at 11:46 pm #1928391Arkadiusz
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.
September 13, 2021 at 12:17 am #1928418Elvin
StaffCustomer SupportI 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?
September 13, 2021 at 12:28 am #1928431Arkadiusz
Hello
We deal with product category descriptions, not product descriptions!September 13, 2021 at 1:00 am #1928467Elvin
StaffCustomer SupportHello
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
September 13, 2021 at 1:15 am #1928492Arkadiusz
Ok, thank you.
September 13, 2021 at 1:27 am #1928508Elvin
StaffCustomer SupportNo problem. 😀
-
AuthorPosts
- You must be logged in to reply to this topic.