[resolved] Product Attributes in Product Meta? (2 posts)

  1. jbchambers
    Posted 3 years ago #

    Our Products are broken down into various taxonomies, and I am using Categories, Tags and Attributes to help organize them.


    Category: Hybrid Polymers (using Product Categories)
    Applications: Windows, Doors, Siding (using Product Tags, and I re-labeled "Tags:" to "Applications:" in meta.php)
    Industries Served: Residential Construction (using Product Attributes)

    In the default meta.php, WC lists the Product Categories & Tags with links to their respective archive pages.

    I would like to be able to add a 3rd section to that list using Product Attributes labeled as "Industries Served:"

    Any suggestions or helpful alternatives?

    Thanks for your help!


  2. Coen Jacobs
    Posted 3 years ago #

    A little while ago, I made a little plugin that does exactly this. Please note that I provide no official support on it though: wc-attribute-links.php.

    To use, please put the slugs of the attributes you want to show on line 15 of the plugin, instead of the placeholder values that are shown there right now. You don't need to check the "Visible on the product page" box for the variation for this to work, as that will (also) show it in the "Additional Information" tab along with the other information.

    This screenshot shows it in action, as you can see I have added a 'color' attribute to my product and added the slug of that attribute (pa_color) to the array line 15 I mentioned earlier. I've also checked the checkbox, so the attribute values are shown in the "Additional Information" tab as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic