• Resolved ofimare

    (@ofimare)


    How I can Show categories and subcategories in shop page?

    Like this Web

    For Example, Construction is the categorie, and Sealants & adhesives, waterproofing, plyurethane foams… are subcategories.

    Thanks!

    • This topic was modified 5 years, 6 months ago by ofimare.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ofimare,

    Thank you for sharing the link to what you’d like to create. There’s not a built-in template with WooCommerce that will look like that.

    Would you could do is make a new page with the block editor. Then insert a columns block. Add an image and caption for each category and then insert links to the sub-categories below them. Place one category with sub-categories per column.

    The other option would be to create a page template in your theme that runs a query that generates it dynamically. That would have the advantage of automatically updating if you make changes. The downside is it will require custom coding.

    If you have any questions, let me know.

    Cheers

    Thread Starter ofimare

    (@ofimare)

    Hi @3sonsdevelopment many thanks for your answer!

    Yes, also I think that the best option it’s coding.

    I think that I need to put the code in the functions.php file inside my child-theme.

    Can you help me with the code that I need?

    Thanks again!

    Cheers.

    • This reply was modified 5 years, 6 months ago by ofimare.

    Hey @ofimare,

    The best thing to do would be to create a new page template in your theme that makes this layout for you. It’s a fair amount of work so if you don’t feel comfortable coding it out yourself, you may want to hire a freelancer that could create it for you.

    Best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to show categories and subcategories in shop page?’ is closed to new replies.