Change page layout for category display type

This topic has 3 replies, 2 voices, and was last updated 13 hours, 39 minutes ago ago by Chartnet

  • Avatar: Chartnet
    Chartnet
    Participant
    March 17, 2025 at 12:25

    Hello,

    Within WooCommerce categories you can select a display type. The options are:

    – Default
    – Subcategories
    – Products
    – Both

    Whenever creating a template, i do not need the same widgets to be shown on the ‘products’ type as for ‘subcategories’.

    Currently im fine with how the products type looks. But i want the sidebar and top widget removed within the subcategories view. Example: https://prnt.sc/24onYnfFaVCD

    How can this be achieved?

    Best regards,
    Chartnet

    2 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 17, 2025 at 16:40

    Dear @Chartnet,

    At this time, you have the option to create other templates and configure the conditions according to your specific requirements. Please refer to the following link for guidance: https://prnt.sc/AHQ8iDP8gfGT.

    For example, you can create one template with a condition to display it with a sidebar for all product archive pages, and another to display exclusively on the shop page. This setup will allow you to display categories only on the main shop page without a sidebar or additional sections, while ensuring that the sidebar and other sections appear on category, subcategory, and other taxonomy pages.

    Should you require any further assistance, please do not hesitate to reach out.

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: Chartnet
    Chartnet
    Participant
    March 17, 2025 at 16:51

    Hello Jack,

    This is not exactly what i am looking for.
    Now i have this: https://prnt.sc/Ki_sVK4AWlmi

    What i want is that ‘Display type: Subcategories’ looks like: https://prnt.sc/EyA1n32CGanm

    And that ‘Display type: Products’ looks like: https://prnt.sc/V0lpXo0fGR_0

    They are both a category archive.. but i want a different layout based on the display type.

    Best regards
    Chartnet

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.