• Resolved arbremojo

    (@arbremojo)


    Hi,

    I would like to know if it’s possible to have an attribute archive page.

    For example, I have this link: https://www.mywebsite.com/color/black/

    I would like to have an archive page for “color” (not for “black”, I already have an archive page for that). This archive page would display all the terms of the attribute.

    Is it possible?

    Regards,

    Clara.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Saif

    (@babylon1999)

    Hello @arbremojo,

    I would like to have an archive page for “color” (not for “black”, I already have an archive page for that). This archive page would display all the terms of the attribute.

    You can create archive pages for the attribute but it won’t render all terms in said attribute but rather by each term.

    As a workaround, you can create separate pages and render the attribute products using shortcodes, for example [products attribute="attribute_test"].

    To learn more about WooCommerce shortcodes, you can check the following guide: https://woocommerce.com/document/woocommerce-shortcodes/

    Hope this helps!

    Thread Starter arbremojo

    (@arbremojo)

    Thank you for your answer. However, I’m not looking for displaying products but for displaying terms. Is it possible?

    If not, I’m going to try to do it with custom code.

    Hi @arbremojo

    I tried to access this link: https://www.mywebsite.com/color/black/, however, it is unreachable.

    Can you please share with us what the output would look like on this page so that we could point you in the right direction?

    If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.

    Thread Starter arbremojo

    (@arbremojo)

    Hi,

    The link I provided you is an example link, it’s not linked to an existing website.

    What I’m trying to explain is that I would like a page where all the terms of an attribute are displayed. Please see this drawing for a better understanding: https://drive.google.com/file/d/11v414QaZ-uxq42kdDeGHnohw7TyLDmiG/view?usp=share_link

    Hi @arbremojo

    Thanks for providing more context to your inquiry here.

    Displaying the terms of an attribute on a single page on your site is not part of the core functionalities of WooCommerce.

    These forums are meant for general support with the core functionality of WooCommerce itself. What you want to achieve is a bit complex and would require customization to do it. Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    WooCommerce Developer Resources Portal
    WooCommerce Advanced Facebook group
    WooCommerce Community Forum
    WooCommerce Developer Slack Channel.
    – Hire a WooCommerce Expert

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Attribute archive’ is closed to new replies.