WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce Nested Category Layout for Products (2 posts)

  1. mrgogo
    Member
    Posted 1 year ago #

    Hi, I tried to do but did not. my sample page http://kafe14.izmok.com/online-siparis/

    Problem: How do I make products under the categories. All products are currently under categories seems. but I just want to appear in the products belong to the category

    content-product_cat.php

    <h3>
    <?php echo $category->name; ?>
    <?php if ( $category->count > 0 ) : ?>
    
    <?php while ( have_posts() ) : the_post(); ?>
    
    <?php woocommerce_get_template_part( 'content', 'product' ); ?>
    
    <?php endwhile; // end of the loop. ?>
    <?php endif; ?>
    </h3>

    Pls Help... :)

  2. mrgogo
    Member
    Posted 1 year ago #

    I found a sample plug-in toll

Topic Closed

This topic has been closed to new replies.

About this Topic