• Resolved pk0312

    (@pk0312)


    I have set the category display to be “Both” (Subcategories + Products). But now the products are shown in the same line as subcategories:

    https://i.imgur.com/SaOI7Fo.jpg

    What I want is this:

    https://i.imgur.com/ynIdvXi.jpg

    So the products start on new line. I have tried editing archive-product.php from /wp-content/plugins/woocommerce/templates but it seems this file has no effect on category page rendering.

    *Bonus*:
    How can I display only featured products from subcategories (not all of them)?

    • This topic was modified 6 years, 9 months ago by pk0312.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter pk0312

    (@pk0312)

    I have now found that I must copy /woocommerce/arhice-product.php to child theme and edit it, then I see changes. But still I am struggling with the logic. Simply putting <br> after categories does not work ??

Viewing 1 replies (of 1 total)
  • The topic ‘Category layout – show products UNDER subcategories, not in the same line’ is closed to new replies.