Adding this code to functions.php file in your theme.


/**
* @snippet How To Remove WooCommerce Product Title Link
* @Tutorial http://wpadmin.in/tutorials/plugins/woocommerce/how-to-remove-woocommerce-product-title-link/
* @Author Wpadmin
* @Compatible WooCommerce All Version
*/
// WooCommerce remove the product title link
add_action( 'woocommerce_before_shop_loop_item_title', 'wcname_close_link', 9);
function wcname_close_link() {
echo "</a>";
}

add_action( 'woocommerce_after_shop_loop_item', 'wcname_open_empty_link', 4);
function wcname_open_empty_link() {
echo "<a href='#'>";
}

/**
* @snippet How To Remove WooCommerce Product Title Link
*/

LEAVE A REPLY

Please enter your comment!
Please enter your name here