Archived topic
How To Display Woocommerce Category Archive Description
9 replies · Started by donnacavalier on April 10, 2018
Hi Tom. Is there a checkbox I'm missing somewhere that allows the Woocommerce Category description field to be shown on the archives page? I see in the forums, one person asked how to hide it, and one person asked how to move it under the products, but I don't see any way to get it to display at all. I feel like I'm missing something basic here.
Hi there,
The category description should show by default and there isn't a checkbox for it.
I can see the div rendered in the backend but no content in it and suspect there is a plugin conflict similar to here: https://generatepress.com/forums/topic/categories-description/#post-492655
Can you try #1 here to eliminate plugin conflict first?
https://docs.generatepress.com/article/debugging-tips/
You're right, there it is! It was a plugin issue, thanks!
No problem :)
Hi, I am experiencing this issue as well but I tested with only WC and the GP plugin active and I see no description on category archives, any ideas why this is happening?
thanks
Sam
Hi there,
by default the Title and Description isn't displayed. The easiest thing is to create a Header Element for it:
https://docs.generatepress.com/article/header-element-overview/
Add this to the content:
<h1>
{{post_title}}
</h1>
{{custom_field.description}}
Add any stying you want like padding etc.
Set your Display Rules to Product Category Archives
Hi David, are you sure that is correct? if I go by the advice given on this forum... The title is definitely displayed by default, and there is an option for it in the customizer. For the description, as Leo notes that it should be by default: https://generatepress.com/forums/topic/how-to-display-woocommerce-category-archive-description/#post-546771
Then there are loads of threads about hiding the description.
I do not want to create a header for it because that affects the appearance of the breadcrumbs. Is it possible to just add it with a hook in the woocommerce_archive_description location? Obviously, if it should be displayed anyway I need to debug that first.
Thanks
sam
Hi there,
Any chance you can link us to one of your product categories?
Hi Tom, sorry for the delay, I fixed it it was a conflict : ) thanks for your help anyway.
Glad you got it sorted :)