WooCommerce - excelling eCommerce
Pick and choose attributes to show globally? (1 post)

  1. daledude
    Posted 3 years ago #

    Is there a way to show specific attributes and hide others without having to manually go into each product and uncheck the box to show on the front-end?

    I know that:

    <?php $product->list_attributes(); ?>

    seems to output the attributes table. Is it possible for me to enter something between the parentheses to limit the attributes output? And could it be done on a per-category basis? So that certain attributes show up on some categories, and not others. I assume this is also something that conditionals would be able to do.

    What I am trying to do is create a Specials category, and inside of that category page, is list of all of the products assigned to Specials. And on that page, is the product thumbnail, price, and a custom attribute. The thumbnail won't link to a single product page, it will just enlarge to show the bigger version in the popup. It basically will work different than all other categories.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic