Support » Plugins and Hacks » Category description under the products

Category description under the products

  • Dear Woocommerce developers,

    I’m having a hard time customizing woocommerce, I don’t quite grasp the hook and template concept as a front-end developer and magento user.

    I’m trying to get the category description under the products, I found the loop where it generates the products in content-product.php. But I have no idea how to swap the position of the description and the output of products. I found the function of the description div in woocommerce-template.php

    function woocommerce_taxonomy_archive_description() {
    if ( is_tax( array( ‘product_cat’, ‘product_tag’ ) ) && get_query_var( ‘paged’ ) == 0 ) {
    $description = apply_filters( ‘the_content’, term_description() );
    if ( $description ) {
    echo ‘<div class=”term-description”>’ . $description . ‘</div>’;

    But I have no idea how to proceed, and how to proceed without adjusting the core file.

    I find it extremely hard to adjust core files, you can create custom template files but I had to adjust some of the core file because I had no idea how to override those ( they don’t work with custom template files ). Woocommerce is very dummy proof out-of-the-box, but when it comes to customizing, it’s way more complex then Magento imo.

    Thanks in advance!

    – Kwintox


Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category description under the products’ is closed to new replies.