WordPress.org

Forums

WooCommerce
Hide product images in specific category (1 post)

  1. cerstrand_mace
    Member
    Posted 2 years ago #

    I would simply like to hide my product images when in a specific category.

    I tried this simple conditional:

    <?php if ( is_category("111")) { } else { ?>
    
    <?php do_action('woocommerce_before_subcategory_title', $category ); ?></div> 
    
    <?php } ?>

    ...but the images are still there in all categories. What to do?

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by cerstrand_mace
  • This topic is not resolved
  • WordPress version: 3.7.1