Home › Forums › WoodMart support forum › Dedicated Category Page
Dedicated Category Page
- This topic has 14 replies, 2 voices, and was last updated 3 weeks, 5 days ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 19, 2025 at 9:28 am #687146
buildreview.orgParticipantI’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
September 19, 2025 at 2:12 pm #687208
Aizaz Imtiaz AwanKeymasterHello,
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,
September 19, 2025 at 2:31 pm #687219
buildreview.orgParticipantDetails below as requested.
Thanks.
September 19, 2025 at 2:56 pm #687229
Aizaz Imtiaz AwanKeymasterHello,
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,
September 20, 2025 at 12:20 am #687289
buildreview.orgParticipantI’ve reset the password details, please try again.
Apologies for any inconvenience caused.
September 20, 2025 at 2:20 am #687295
buildreview.orgParticipantHi 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?
September 20, 2025 at 2:23 am #687296
buildreview.orgParticipantUploading image again.
September 20, 2025 at 2:24 am #687297
buildreview.orgParticipantImage challenges not uploading to support – third try đ
Attachments:
You must be logged in to view attached files.September 20, 2025 at 11:30 am #687326
Aizaz Imtiaz AwanKeymasterHello,
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,
September 21, 2025 at 12:45 am #687367
buildreview.orgParticipantSorry, 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….
September 22, 2025 at 8:47 am #687449
Aizaz Imtiaz AwanKeymasterHello,
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,
September 22, 2025 at 8:54 am #687456
buildreview.orgParticipantI’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.
September 22, 2025 at 3:35 pm #687572
Aizaz Imtiaz AwanKeymasterHello,
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,
September 23, 2025 at 7:40 am #687614
buildreview.orgParticipantI 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.
September 23, 2025 at 2:52 pm #687695
Aizaz Imtiaz AwanKeymasterHello,
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,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register