Home Forums WoodMart support forum Dedicated Category Page

Dedicated Category Page

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #687146

    buildreview.org
    Participant

    I’m trying to create a dedicated Category page for a parent category and its child categories. I know this isn’t normally a standard feature of most wordpress themes.

    My logic is we use the Layouts > Add New Layout Type: Products Archive
    Then set conditions: include > Product Term > set parent category
    Save Condition
    Then create the page layout.

    The problem is the page doesn’t seem to recognise the category chosen, so when we use a gutenberg brands block (and set the brands to filter in current category) it should only show the brands associated with the parent/child categories, right? – but it doesn’t work.

    Even the Archive Products block shows unrelated categories.

    What am I doing wrong, or is there a better method to build a dedicated category page?

    Many thanks,

    Ian

    #687208

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards,

    #687219

    buildreview.org
    Participant

    Details below as requested.

    Thanks.

    #687229

    Hello,

    The login details you provided are not working. Please share the correct login details so I can check the issue and give you a possible solution.

    Best Regards,

    #687289

    buildreview.org
    Participant

    I’ve reset the password details, please try again.

    Apologies for any inconvenience caused.

    #687295

    buildreview.org
    Participant

    Hi again, further to the added login details above, the archive products block sometimes fails to show the category image.

    Categories > Residential Hardware > Doors Stops Residential (image fails to display on frontend) – Seems to be failing to call <div class=”wd-cat-image”>

    Maybe there’s a problem with this block?

    #687296

    buildreview.org
    Participant

    Uploading image again.

    #687297

    buildreview.org
    Participant

    Image challenges not uploading to support – third try 🙂

    Attachments:
    You must be logged in to view attached files.
    #687326

    Hello,

    However, the Brand widget/block is designed to display all brands and doesn’t automatically filter them by the current parent or child category. That’s just how it works by default — if you add this widget inside a custom layout, it will always show the full list of brands, not only those related to the category being viewed.

    Best Regards,

    #687367

    buildreview.org
    Participant

    Sorry, you’re answer can’t be correct – because why has the brand block got the following setting:

    Filter in current category

    Enable this option and all brand links will work inside the current category page. Or it will lead to the shop page if you are not on the category page.

    Can you give me the gutenberg block file location, and I can inspect and fix the block code myself

    Or perhaps youi could contact the block developer and advise them of the bug….

    #687449

    Hello,

    The “Filter in Current Category” option in the Brands block only affects the URL structure of the brand links, making them stay within the current category context. It does not actually hide the unrelated brands on the category page.

    The brand will be filtered within the current product category, instead of taking the user to a global brand archive.

    If you’re not viewing a product category page, the link will default back to the main shop. You need to enable or disable the option and click on the brand to see the effects.

    Best Regards,

    #687456

    buildreview.org
    Participant

    I’m sorry, but what is the point of that? That doesn’t make any sense at all for any frontend users 🙁

    Can you point me in the direction of the block file, I’ll make my own version that works properly.

    #687572

    Hello,

    Unfortunately, the Brands element doesn’t work the way you described. It displays all brands available on the site and doesn’t filter them by category. Filtering by category is handled by the WOODMART WooCommerce Layered Nav widget, so in this case you’ll need to use that instead.

    For better understanding, you can see how the Brands element behaves with the “Filter in Current Category” option on this demo page: https://woodmart.xtemos.com/megamarket/product-category/flooring/

    If you’d like to achieve a similar result on your site, you will also need to use the “Include only” option in the Brands element. This way you can manually define which brands should be shown for a specific category.

    And if you want to look into the code, the functionality of the Brands element is located in the file:
    inc/shortcodes/brands.php

    Best Regards,

    #687614

    buildreview.org
    Participant

    I created a code snippet to extend the functionality of your brands block. Your brands block, as developed, is not great, and the filter in current category is misleading and quite pointless.

    You guys seem very good developers, but don’t really seem very experienced with how users use ecommerce sites.

    #687695

    Hello,

    We will treat this as a feature request and will work on improving this functionality in future updates. Thank you for your feedback — it helps us better understand user needs and make the product more user-friendly.

    Best Regards,

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