Home Forums WoodMart support forum Different Sidebars For Different Shop Pages

Different Sidebars For Different Shop Pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #723198

    trokut
    Participant

    Hi,

    Would it be possible to show different sidebars for different shop pages?

    When you land on the shop, I currently have it set to show categories > sub-categories > sub-sub categories > products.

    I want to show one sidebar for: categories, sub-categories and sub-sub categories

    And one sidebar for: products

    Please view the supplied content for direct links to these pages.

    Thanks a lot!

    #723226

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    First, create a new custom sidebar by following this guide:
    https://xtemos.com/docs-topic/sidebars/

    Then, use the WoodMart Layout Builder to create a Shop page layout or create a layout for specific product categories where you want to display a different sidebar. Add the Sidebar element to the layout and select the custom sidebar you created in the previous step.

    You can assign the layout to the required product categories using the display conditions.

    For more information about the Layout Builder, please refer to our documentation:
    https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/

    Best Regards

    #725483

    trokut
    Participant

    Hi Aizaz,

    So, this is how I need it to work.

    I need one sidebar to ONLY be available on ALL Category, Sub-category and Sub-sub-category pages, meaning, the pages where you see the category blocks – see the example pages sent above.

    Then, I need one sidebar to ONLY be available on ALL of the lowest level pages, meaning, the pages where you can see the actual products – see the example sent above.

    Alternatively, how can I hide specific widgets that I have added in my sidebar from appearing on ALL of the lowest level pages, meaning, the pages where you can see the actual products – see the example sent above.

    Regards

    #725585

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Create Layout 1 (For Category & Sub-category pages):

    – Go to WoodMart > Layout Builder > Add New Layout (Type: Archive).
    – Set the Conditions, select Include > Product categories, or select the specific main categories that display category blocks: https://jumpshare.com/s/bs859WY6yMKwUNnl1zIj
    – Add the Sidebar element to the layout and choose your Category Sidebar.

    Create Layout 2 (For Lowest-Level Product pages):

    – Create a second layout for pages that display actual product grids.
    – Under Conditions, set it to Include > Child product categories (or select the specific leaf/lowest categories): https://jumpshare.com/s/er511PumXsNGMzdwmuN0
    – Add the Sidebar element and choose your Product Sidebar.

    Alternatively, if you want to hide specific widgets on the category, you can use the WoodMart WooCommerce Layered Nav widget.

    The WoodMart WooCommerce Layered Nav widget allows you to select the specific product categories where the widget should be displayed, giving you more control over its visibility.
    https://ibb.co/1GNfFmTH

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)