• Hi Woocommerce team,

    I use this code to change product title in category page to H3 tag:

    //change product title to h3 on category page
    if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
        function woocommerce_template_loop_product_title() {
            echo '<h3 class="woocommerce-loop-product__title">' . get_the_title() . '</h3>';
        }
    }

    Now i’d like to replace product title with SKU in category page, while still remain the product title in single product page.

    I have tried many code on searching but none of them works. Please help me!!!

    Thanks.

    The page I need help with: [log in to see the link]

  • The topic ‘Replace product title with SKU in product category page’ is closed to new replies.