Missy a11n
(@m155y5)
Automattic Happiness Engineer
Hi @lemouz –
You can add a description to your categories in much the same way you do products. If you go to Products > Categories, you can edit the category’s details from there, including the description.
One caveat – not all themes display this description, so it will depend on your theme.
Thread Starter
lemouz
(@lemouz)
Thanks for your answer, I know this and I already did it as you can see on this page : https://www.byaeni.fr/categorie-produit/hygiene-salle-de-bains/protege-slips-lavables/
The thing is I’d like to have part of the text before the products and sub-categories and part of the text after the products. Because if I put 800 words before the products, visitors will go out of my site.
I precise I use storefront theme (with child-theme)
-
This reply was modified 5 years, 5 months ago by
lemouz.
-
This reply was modified 5 years, 5 months ago by
lemouz.
@lemouz
You will have more control over the display if you use a shortcode to display the category products. You can then add whatever text you want above and below the shortcode a you describe.
You can read about short codes that display categories here:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-13
In your case the shortcode may look like this:
[product_category category="364"]
I hope that helps you to figure it out.
Feel free to get back to us if you have further questions.
-
This reply was modified 5 years, 5 months ago by
mouli a11n. Reason: typo
Thread Starter
lemouz
(@lemouz)
If I understand well, to use this short code, I have to create my own category pages, one for each category and sub-category.
Right noww, I only use what woocommerce does itself.
My categories appears in my front page (I created) and shop page (created by woocommerce)
Then when user click on the category image, it goes to the page created by woocommerce (example : https://www.byaeni.fr/categorie-produit/enfance/) All text and images in this pages are from the frontoffice (Woocommerce/Products/Categories)
Thread Starter
lemouz
(@lemouz)
So anyone can confirm (or not) that there is no way to do it without creating my own category pages ?