Product categories

WooCommerce comes with 2 shortcodes to display product categories:

[product_categories]
Display product categories
[product_category]
Display products from a specific category

Examples of using these shortcodes:

<product_categories parent="0">
Displaying products from a category
$18.00
Add to cart
$35.00
Add to cart
$20.00
Add to cart
$35.00
Add to cart
$35.00
Add to cart
$20.00
Add to cart
$20.00
Select options
Sale!
$30.00$35.00
Select options
Sale!
$20.00 $18.00
Add to cart
$35.00
Add to cart
$20.00
Add to cart
$35.00
Add to cart
<product_category category="37">

Leave a comment

Your email address will not be published. Required fields are marked *