Archived topic
I want to add specific product categories to my front page like storefront theme
9 replies · Started by Mohammed on May 4, 2020
Hi
I want to add product categories like this: https://themes.woocommerce.com/storefront/. Is it possible or not?
Hi there,
you can create a static Page to add the content - to display the products use the Woocommerce Shortcodes:
https://docs.woocommerce.com/document/woocommerce-shortcodes/
It is already a static page
then you just need to edit that page, create a new Section add the Category title followed by a Woocommerce Shortcode - see the example they provide here:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#scenario-5-specific-categories
It doesn't work
Can you explain what doesn't work ?
When I try to add the categories I cannot choose which categories I want to show.
And another question is your theme compatible with WPBakery Page builder?
These shortcodes are available for displaying the actual categories: https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-13
The theme should be perfectly compatible with WPBakery.
It works now just fine. I just need to add id in the shortcode.
So the short code looks like this: [product_categories number="3" columns="3" ids="109,105,194"]
Awesome :)