Display the product attribute achive page
-
Hello,
I have several product attributes and for some of them I would like to display the archive page of it (not of one of the terms).
As an example, a product has an attribute “brands” and there are terms like “brand 1”, “brand 2”.. so I thought calling the url /brands/ would show all brands… but I get a 404..
I have already updated the taxonomy settings for some attributes in order to allow the archive pages of the terms: /brands/brand-1/ now works (before it had also 404).
I have read somewhere in some forums that WooCommerce does not allow the access of the archive page in some pre_get_post filter.. Would you give me a hint where I can activate the archive page?The alternative would be to create a template for “all” and make my own query.. but I’d really prefer to use the existing templates…
Best regards,
WBW
- You must be logged in to reply to this topic.