Woocommerce multiple categories shortcode (3 posts)

  1. unikumix
    Posted 2 years ago #


    I'm trying to display multiple categories on my Woocommerce Products page.

    I have Clothes -> Male, Female categories
    and Accesories category.

    When user click Click Clothes i wan't to show only Male & Female stuff.
    Not Male & Female and Accessories.

    [product_category category="female" per_page="12" columns="4" orderby="date" order="desc"]

    With this shortcode i can show "female" category products, but i need
    to add male category too.

    I don't know the separator if there is any.

    Any ideas?

  2. rey8a
    Posted 1 year ago #

    Use a comma to separate categories.
    See example: In this example the categories are "T-Shirts,Hoodie’s, Misc,Sweatshirts"
    [product_category category="T-Shirts,Hoodie’s, Misc,Sweatshirts"]

  3. zdurst
    Posted 1 year ago #

    That doesn't work!

Topic Closed

This topic has been closed to new replies.

About this Topic