28 responses to “Displaying Woocommerce Categories on Web Page – the easy way”

  1. Sarah

    You just saved me hours of frustration!! Thank you thank you. I’m trying to create “collection” pages and was about to dive into the WP backend for a day of struggling with hooks. This is way easier.

    1. ReallyGreenDave

      Glad we could help Sarah

  2. Alex

    Hi there, I’m trying the thing you have suggested but it’s not listing any products categories if I paste the shortcode on any other page than /shop or /shop/something….

    How can I get products category listed across my entire site using the shortcode without having to be linked to
    Shop Base Page in Woocommerce – Settings – Page…

    Kind regards,

    1. ReallyGreenDave

      Hi Alex,

      This info is for listing products of a certain category, i.e if you were selling clothes this could display the products in the category T-shirts. If you are looking to achieve something different there is a full list of shortcodes here http://docs.woothemes.com/document/woocommerce-shortcodes/ Or if you’d like me to take a look just drop me an email http://reallygreenwp.com/contact/

  3. Hassan

    This is really good ,, the only problem with it need pagination ,,, as I have many products per each category and can not display something like 200 product per category in one page …..
    Any help please ?

    1. ReallyGreenDave

      Hi Hassan,

      Currently there isn’t support for this in the shortcode, a few are asking for it here http://ideas.woothemes.com/forums/133476-woocommerce/suggestions/4146798-add-pagination-support-for-list-of-products-render as mentioned in the comments one workaround would be to add the category archive in question to your menu and rely on your themes/WP’s in built pagination. Alternatively, we’d be happy to help with a custom template for the archive if you’re interested just drop us a line http://reallygreenwp.com/contact/

  4. Ashin

    That was perfect.. i love you.. thanx a lot

  5. Henrique Arnholdt

    I’ll repeat what Really Green Dave said: “You just saved me hours of frustration!! ” Thank you.

  6. Laura

    Omg…thank you sooooo much for posting this. Surprisingly, there isn’t much out there referencing being able to have different category pages with banner images, custom content, etc.

    Thanks again..like the rest…you saved me time 🙂

  7. Inna

    This worked great thank you! How can I tweak this code so that it allows me to display specific product vendors or product tags on a page?

  8. Teresa

    Thank you so much! I’m new to this WooCommerce thing and I’m having a difficult time with the learning curve. You just saved me hours of reading by telling me exactly what I needed to know and how to do it. I sincerely appreciate your kindness in sharing your information! Kudos.

  9. Aaron M.

    Thank you for this information. This worked perfectly. Have several products buy category on my home page now. Just what I wanted.

    Thanks again, Aaron M.

  10. TechGrids

    Thanks for your short-code. i now have products displaying per category on my clients website.

  11. Harry

    Thank You very much!!

  12. Jacqueline Fisher

    I was ready to give in. I don’t know anything to do with code… you saved me big time. Took me HOURS to find this & thank you so much.

  13. silvia


    its not working on my website!!
    im trying to add a list of products categorised under men’s i enter:
    [product_category category=”mens” per_page=”12″ columns=”4″ orderby=”price” order=”asc”]
    and it wont work

    thanks for your help

  14. Andy

    Thanks a lot !!!! I love you !!!! I now was so simple but I trie 200 or more script but everytime someting mess upp , and last tried this and work !!!!! thanks very mutch !!!!

  15. jedics

    hmm, followed instructions, made sure the slug was the correct name in the categories I created to test but nothing is loaded into the page at all.

    this seems like the simplest instructions I could ask for, not sure what I could be doing wrong 🙂

    [product_category category=”bedroom” per_page=”12″ columns=”4″ orderby=”price” order=”asc”]

    any suggestions?

    the site is on my computer for now so I cant show it to you.

  16. Jamie

    Hi! This was so helpful! The shortcode worked great, but I am having problems getting multiple pages to show up for my categories. I have 20 items in each of my categories, and I display 9 per page, but it won’t have multiple pages at the bottom like my main shop page does. Any ideas? Thanks so much!

    1. lynn

      Did you figure this out? I’m having the same problem.

  17. Nick

    Thank you so much, just used this on our website http://www.restrelax.com and it looks great.

    You have saved us hours

  18. Wiepkje

    Jedics, I had the same problem. Whatever I tried, nothing happened. Weird, because when inserting the category as a menu-item (so not as a shortcode in a page) 24 products were shown.

    Now I’ve found the beginning of a solution. Open the directory woocommerce/includes/class-wc-shortcodes. There you’ll find the rule ‘per_page’ => ’12’. When you change that number, you should see the amount of products changing.

    I know one has to make changes in the childtheme. But for now I’ll leave it like this. If someone will come with better answer, thanks in advance. Wiepkje

  19. Faruk

    Great solution!

    Can you let me know how to list related products (and how do I make products a realated product?_

  20. zora

    This was a great find for me but of course when you click on the image it takes you to the product page. My issue is that I need a banner on that page to match the rest of the site. Can you give me some idea how to create my page to look like my site pages including my banner which is a revolution slider above the nav bar. Or to create my own product page the way I want to see it. I would have thought this was a no brainer and that woocommerce would have done this already for you but that is not the case at all.

    Thank you

  21. Saud Razzak

    Nice guide 🙂

    I wrote about WooCommerce Shortcodes a few weeks ago.

    Here is the link:

Leave a Reply