Archived topic
Is it possible to put Woocommerce categories on (Wordpress) homepage?
5 replies · Started by Pauline on November 27, 2020
Is it at all possible to put Woocommerce categories on the homepage? I cannot find any clear information as to how to do this. If not, is it possible to link images from the homepage to a Woocommerce category page? Thanks.
Hi there,
Is the home page a static page?
If so you can try using WooCommerce shortcodes:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9
If you are using the block/Gutenberg editor, you can also try a plugin like WooCommerce blocks:
https://wordpress.org/plugins/woo-gutenberg-products-block
Thanks Leo. Yes, the homepage is a static page. I have never used shortcodes, and will go and learn how to use them. Using shortcodes, will I be able to link an image from a static home page, to a Woocommerce category page (not product page)?
For instance, in my shop page, there are various categories of products, ie: pasta, water, beverages etc. Would I be able to make a link from the static home page, to say the "page" that would show all the pasta products?
Hi there,
edit your page and add this shortcode to the content:
[product_categories]
This will display ALL Product Categories which will include their image and title
More info here:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-13
Thanks so much :-)
You're welcome